2

At first, I have a same problem as this question How to show verification code suggestion on keyboard from Message, then when I received a message containing Your one time password is 123456, the passcode was suggested in my keypad, the case is, I don't know what is the proper format of the sms that I need to received, where can I see the certain documentation or rules and instructions for the readable sms OTP?

In my given link, they gave a video link, but for some personal reason, I can't watch it.

Steve Vinoski
  • 19,847
  • 3
  • 31
  • 46
Dylan
  • 1,121
  • 1
  • 13
  • 28

1 Answers1

4

Here is the documentation about password autofill. It says to actually test it out yourself by sending out a text message:

To test the format of your SMS code for different languages, text a message to yourself. If you receive a message with an underlined security code, tap on the code. If a Copy Code option appears, the system has recognized your code.

However, from other developers who have tested out it seems SMS containing these formats work fine:

your passcode is:123456

or

12345 is your code to log in.

Community
  • 1
  • 1
Frankenstein
  • 15,732
  • 4
  • 22
  • 47
  • But what if I only want to receive English messages, How can I know what messages does the app will read? should I need to guess what is the accepted keywords that the app can read from SMS? so I can have a multiple choices of words. – Dylan May 18 '20 at 04:50
  • 1
    Since apple documentation asks you to test it out on device maybe you should test it out. Maybe they say this because they are trying to improve the different scenarios of OTP text on each iteration. – Frankenstein May 18 '20 at 08:50