I am trying to make an app which requires WhatsApp like validation of number, as heard from many people I sent a SMS from the same number to same number and check if the number is same and in message I sent a hashid generated from number and IMEI number and send the same to Server.
Now when the use receives the SMS and put the hashid on an input field and it got stored to Shared Preference and sent to server to match.
Is this the right way and same way WhatsApp doing?
See these links
SMS registration like in the mobile app: whatsapp
How to verify the phone number similar to Whatsapp?
As it says
Send the phone number to be verified, receive a unique hash. The verification system sends a unique code to the user. Once the user passes that code to your application, the original hash and the code are sent to the verification system to be validated.
Flow for MSG verification is:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.