spargo-protek opened a new issue #1075:
URL: https://github.com/apache/cordova-ios/issues/1075


   # Bug Report
   When sms with OTP code arrives it is shown on the top of keyboard, but 
clicking it doesn't do anything.
   
   ## Problem
   
   ### What is expected to happen?
   Clicking the code should insert it in the focused input.
   
   
   ### What does actually happen?
   Clicking the code does nothing.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   By the way the way code is displayed in safari and cordova differs:
   
![Skype_Picture_2021_02_16T00_02_24_129Z](https://user-images.githubusercontent.com/55238788/108003452-eee30400-7003-11eb-9bb0-1830f6856be8.jpeg)
   
   
   
![Skype_Picture_2021_02_16T00_02_33_887Z](https://user-images.githubusercontent.com/55238788/108003455-f0143100-7003-11eb-9995-45244f9c4c17.jpeg)
   
   
   ### Code
   Create new cordova project:
   cordova create hello com.example.hello HelloWorld
   
   Edit index.html adding:
   `<input id="single-factor-code-text-field" type="text" 
autocomplete="one-time-code"/>`
   after:
   `<p class="event received">Device is Ready</p>`
   
   Request sms by any site that requires sms validation.
   Click the edit.
   See code in keyboard.
   Click the code.
   
   
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   iPhone 6s, ios 14.4.
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   cordova 10.0
   cordova-ios 6.1.1
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x ] I searched for existing GitHub issues
   - [x ] I updated all Cordova tooling to most recent version
   - [x ] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to