Skip to content

Unsolicited iOS14 clipboard permission prompt #60145

@justinmc

Description

@justinmc

At WWDC2020, Apple announced that it was cracking down on clipboard sniffing by showing a prompt when an app attempts to access the clipboard. This likely means that Flutter apps that feature text input will trigger this at strange times.

As of #54902, Flutter began checking the clipboard contents to decide whether or not to show the paste button in the text selection menu. Previously, it would always show the button, even when nothing pasteable existed in the clipboard.

When exactly are Flutter apps seeing this clipboard permission dialog? What should we do about it?

Some options:

  1. Revert to the old behavior (show the paste button regardless of clipboard contents).
  2. Revert only for iOS, or only or iOS 14. Provide the developer an option to enable the feature on iOS 14 anyway?

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: text inputEntering text in a text field or keyboard related problemscustomer: crowdAffects or could affect many people, though not necessarily a specific customer.customer: money (g3)engineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions