Autofill OTP to the TextField when I receive message iPhone app

前端 未结 2 691
走了就别回头了
走了就别回头了 2021-01-11 16:21

While registering from my app I was sending OTP to the registered mobile number I want to retrieve that OTP in my app without opening SMS app...When the user received OTP me

2条回答
  •  醉酒成梦
    2021-01-11 16:39

    You cannot access messages on ios and hence you cannot autofill the OTP in ios apps by reading sms.

    The answers in the link that you have posted do not read the sms messages. They just create a custom url scheme and the otp is filled in when the user clicks the custom url in the sms.

提交回复
热议问题