(Guide) OTP Verification From The User's Own Number

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 -

  1. Textbox
  2. Texting Component
  3. 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. :slight_smile:

3 Likes

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

Good Idea, @Nisarga
:star_struck:
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

Yes. I get it. The thing is this is a small guide to help and understand how OTP sending works.

2 Likes

I don’t also know that.

3 Likes

Why the user will enter a wrong number?

2 Likes

Yes me too !

3 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

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.

Please STOP :stop_sign:, 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

Yes you’re ryt

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

Did @themaayur beta test or gave you the idea I think you should also mention what did he do.

1 Like

I also don’t know why the special thanks to me :sweat_smile:

It was your idea :slightly_smiling_face:

3 Likes