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

Insert Code from Messages not working on IOS #19

Closed
valentinper opened this issue Nov 24, 2020 · 8 comments
Closed

Insert Code from Messages not working on IOS #19

valentinper opened this issue Nov 24, 2020 · 8 comments

Comments

@valentinper
Copy link

Platform: Ionic 4

When sending SMS codes for OTP on IOS the SMS Code can be pasted directly from the keyboard.
When clicking on the code on the keyboard only the first number is entered.

A normal paste from the clipboard is working

@AlexMiniApps
Copy link
Owner

AlexMiniApps commented Nov 24, 2020

@valentinper Hello, thanks for the feedback I will check.

@AlexMiniApps AlexMiniApps added enhancement New feature or request and removed investigating labels Dec 2, 2020
AlexMiniApps added a commit that referenced this issue Jan 21, 2021
AlexMiniApps added a commit that referenced this issue Jan 21, 2021
- Implemented #19
@AlexMiniApps
Copy link
Owner

@valentinper Hello, sorry for the delay.
The issue has been fixed in the latest release v 1.3.3

@AlexMiniApps AlexMiniApps removed the enhancement New feature or request label Jan 21, 2021
@valentinper
Copy link
Author

@AlexMiniApps Thanks for fixing. Just updated to the new Version and everything works!

@tigrenok00
Copy link

@AlexMiniApps
Hi!
I'm on latest version and not getting the "paste from messages" option when clicking on the input like on other iOS inputs.
Is there anything specific that need to be done? I did not find yet a way to bring the keyboard up automatically. I tap the first field but to "from messages" is shown.

<code-input #codeInput [isCodeHidden]="false" [codeLength]="6" (codeCompleted)="onCodeCompleted($event)" [initialFocusField]="0" > </code-input>

@AlexMiniApps
Copy link
Owner

@tigrenok00 Hi! The keyboard will not be shown automatically in spite of the first filed will be focused. I do not know why it is happens but it is not the lib issue, because the input field will be focused. If you are using the lib within the cordova/capacitor/phonegap/etc. project I guess you need to call the keyboard from extra plugin. Also you can 'play/experiment' with internal inputs by yourself using brute https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll . The 'from messages' option will be shown only if you tap on any field.

@tigrenok00
Copy link

@AlexMiniApps
Ok, so it doesn't matter if the keyboard is brought up beforehand. The thing is that I'm not seeing "from messages" even after tapping on the field. I'm on mobile Safari version 14.5.1 and latest version of the plugin.

@AlexMiniApps
Copy link
Owner

ok I will check.

@AlexMiniApps
Copy link
Owner

@tigrenok00 Please open a new one issue with this description. I will research it after that

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

No branches or pull requests

3 participants