Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable iOS >=12 OTP autofill OTP #89

Open
Wingzzzzz opened this issue Apr 9, 2019 · 1 comment
Open

Disable iOS >=12 OTP autofill OTP #89

Wingzzzzz opened this issue Apr 9, 2019 · 1 comment

Comments

@Wingzzzzz
Copy link

After receiving OTP and iOS recognise one-time code in SMS,
iOS adds "From Messages 123456" on top of keyboard.

Will there be a config / option to disable this feature?

@cjpearson
Copy link
Owner

Probably not unless Apple adds an API to UIWebView/WKWebView for this. If I were starting this from scratch I probably wouldn't even include the hideAccessoryBar feature. The code is kinda sketchy and it's liable to break in any iOS release.

You might be able to tackle this from the JS side though. Does something like this work? https://stackoverflow.com/a/31254067/754604

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants