Skip to content

Insert Code from Messages not working on IOS #19

Closed

Description

@valentinper

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

Activity

  1. AlexMiniApps commented on Nov 24, 2020

    @AlexMiniApps
    Owner

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

  2. AlexMiniApps commented on Jan 21, 2021

    @AlexMiniApps
    Owner

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

  3. valentinper commented on Jan 26, 2021

    @valentinper
    Author

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

  4. tigrenok00 commented on May 23, 2021

    @tigrenok00

    @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>

  5. AlexMiniApps commented on May 23, 2021

    @AlexMiniApps
    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.

  6. tigrenok00 commented on May 24, 2021

    @tigrenok00

    @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.

  7. AlexMiniApps commented on May 24, 2021

    @AlexMiniApps
    Owner

    ok I will check.

  8. AlexMiniApps commented on May 24, 2021

    @AlexMiniApps
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy