broadcastreceiver - Whats App like verification in android app -


hi trying make app requires whatsapp validation of number, heard many people sent sms same number same number , check if number same , in message sent hashid generated number , imei number , send same server. when use receives sms , put hashid on input field , got stored shared preference , sent server match.

is write way , same way whats app doing?

please let me know technical aspect of issue?

flow msg verification is:

  1. user sent request verification on particular mobile number.
  2. server sends sms mobile number verification code, along device imei number sent phone while asking verification [must encrypted].
  3. sms broadcast receiver receives incoming sms checks if it's type , if it's verification sms, decrypt contents, validates imei number, gets verification number , sends verification number server.

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -