SMS registration like in the mobile app: whatsapp


#1

I want to create a app.there user doing register using mobile number.like whats app.user put the mobile number.and will sending a otp on this mobile number.user receive an otp. and this otp using for verification Such as whatsapp.please help me anyone.


#2

Hello Friend,

You can use this https://github.com/sandeepdillerao/cordova-plugin-otp-auto-verification for for auto detect OTP.

Thanks


#3

but how to send otp to the user mobile number.I want to register a user with a mobile number such as whatsapp.exactly i’m try to implement same thing


#4

Hello friend,
For that you have to implement server integration when user enter a mobile number you have to send mobile number to server side and from the server side you have send OTP to mobile number.

Thanks


#5

thats means otp send from backend or server ?


#6

Right from the front-end it is not possible you need a backend support for this business logic.


#7

The use of such a flow is that you have a user phone number in your database and know that it belongs to the user. So of course you have to send the number to a backend that saves it in a database, then send the OTP from there. Then in the client after entering an OTP you have to compare it with the value in the database.


#8

there should be use any kind of sms api? for sending the otp


#9

hello friend,

you can go through this http://www.a100websolutions.in/otp-using-php-one-time-passwords to know whole procedure…

Thanks