Skip to content

OCR option not showing in native text field menu after Secure Paste M2 implementation #169781

@Asquare17

Description

@Asquare17

After the merge of the Secure Paste M2 milestone (tracked in #159013), the OCR (Text from Camera) option is no longer showing by default in the iOS native text field context menu.

Previously, the Flutter text editing menu supported OCR as discussed in #96637. This functionality appears to be missing or unhooked after the secure paste implementation.

Expected Behavior:
When long-pressing on a TextField, iOS should show the "Text from Camera" (OCR) option as it did previously.

Actual Behavior:
The OCR option is not visible or accessible in the text field context menu on iOS.

Steps to Reproduce:

Use a TextField widget on iOS.

Long press to open the context menu.

Observe that the OCR option is missing.

Reference Issues/PRs:

Related implementation: #140184

Original OCR support discussion: #96637

Secure Paste Phase 2: flutter/flutter#159013

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-iosiOS applications specificallyteam-text-inputOwned by Text Input teamtriaged-text-inputTriaged by Text Input team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions