Nisarga
(Nisarga Adhikary)
September 15, 2020, 4:45am
#1
OTP Verification From The User’s Own Phone Number
In this guide I will tell that how that send the OTP to the user of your app from his/her own mobile phone number.
Let’s Start
Components Needed -
Textbox
Texting Component
Button For Sending OTP
Put the blocks as told above.
The user needs to enter the number with country code.
Demo .aia
OTP_Verification_Auto.aia (2.8 KB)
Special Thanks
@themaayur
3 Likes
If you publish app with this type of verification then google play will reject your app.
Great idea. But Google may not allow this.
3 Likes
Soham_Shah
(Soham Shah )
September 15, 2020, 5:30am
#4
Nice guide, but it doesn’t make any sense of sending otp via own phone number, because even if the user enters someone else’s phone number he can see the sent message and can easily get the otp
5 Likes
ADDYLIN
(ADDYLIN)
September 15, 2020, 5:32am
#5
Good Idea, @Nisarga
i was Going to impliment it.
But as Koders are saying it will not be allowed by Playstore.
i would like to know why.
3 Likes
Nisarga
(Nisarga Adhikary)
September 15, 2020, 5:41am
#6
Yes. I get it. The thing is this is a small guide to help and understand how OTP sending works.
2 Likes
Nisarga
(Nisarga Adhikary)
September 15, 2020, 5:48am
#8
Why the user will enter a wrong number?
2 Likes
But this not proper authentication
It’s better to use firebase otp authentication instead which gives 10k messages for free
If you see the blocks it looks like the user is sending otp to another person
FahadAhmad
(Fahad Ahmad)
September 15, 2020, 6:37am
#12
Nisarga:
I don’t also know that.
Tekwizer:
Yes me too !
Because SEND_SMS
is declared as dangerous permission and you know Google is really strict about apps using these permissions.
Here you can see which apps can use these permissions:
More info:
1 Like
This post was flagged by the community and is temporarily hidden.
Tekwizer
(ArnaV Bhardwaj)
September 15, 2020, 6:52am
#14
Please STOP , the last topic which @Nisarga created had to be deleted because of you @anon25683304 if you don’t have anything nice to say then don’t say anything at all.
3 Likes
Use Api To Send Otp it’s better
This is the reality because this is wrong
If you see the blocks then the user is sending message to himself
2 Likes
Tekwizer
(ArnaV Bhardwaj)
September 15, 2020, 7:45am
#18
Did @themaayur beta test or gave you the idea I think you should also mention what did he do.
1 Like
themaayur
(Mayur Berad)
September 15, 2020, 7:58am
#19
I also don’t know why the special thanks to me