You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d633ab4
Browse filesBrowse the repository at this point in the historyBrowse files
Fix TextInput crash when clipboard read access is denied on Android
ClipboardManager throws a SecurityException when the READ_CLIPBOARD app op
is set to MODE_ERRORED for the app, which some OEM clipboard privacy
settings do. TextView reads the clipboard from its floating text menu,
keyboard shortcuts, accessibility info and actions, and when pasting, so a
tap, a long-press, Ctrl+V or an accessibility service focusing a
TextInput crashes the app.
Guard those entry points in ReactEditText and treat a denial as an
unavailable clipboard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments