cordova-plugin-keyboard icon indicating copy to clipboard operation
cordova-plugin-keyboard copied to clipboard

Disable iOS >=12 OTP autofill OTP

Open Wingzzzzz opened this issue 6 years ago • 1 comments

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?

Wingzzzzz avatar Apr 09 '19 04:04 Wingzzzzz

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

cjpearson avatar Jun 17 '19 22:06 cjpearson