SMS registration like in the mobile app: whatsapp

后端 未结 4 601
一整个雨季
一整个雨季 2020-12-23 10:39

I\'m wondering how these sms-registration mechanisms work. I searched on the internet, but the problem is there are so much sms-providers which want to sell online-sms servi

4条回答
  •  一整个雨季
    2020-12-23 11:15

    This article explains how to integrate sms verification to your android app just like whats App.

    Android adding SMS Verification Like WhatsApp – Part 1

    Android adding SMS Verification Like WhatsApp – Part 2

    Basically the following steps involves in verifying mobile number

    1. First user mobile number will be sent to our server where new user row will be created.

    2. Our server requests the SMS gateway for an sms to the mobile number with a verification code.

    3. SMS gateway sends an SMS to the user device with the verification code.

    4. The verification code will be sent back our server again for verification. Our server verifies it and activates the user.

提交回复
热议问题