Otp message late or not received

Hey @sherif

You can use this idea…

Ok i will try this , But what about firebase??

Try this one, There may be some errors in the authentication. I will make you inform.

Thank you very much @Ariyan_AD for your time :hugs:

2 Likes

Hi @Ariyan_AD I hope you are fine

This is only for Indian user as I think :upside_down_face:

As for the problem of OTP messages that I am facing in my application, I have done two things so that I can determine the cause of this problem
First, I found that the problem is in all of my applications, not in one application. All my apps don’t send OTP to users
Secondly, I activated a new Firebase account using a different Gmail and the problem still exists in the application and it still does not send an OTP message to the user
We conclude from this that either there is a problem with my blocks , or there is a problem with the Authentication component

{AB7D878A-23C8-43C8-89AA-F281C5BBAD39}.png
Label6 is country code
Text _Box1 is Phone Number

1 Like

Yes @sherif , I am totally fine.

Have you setup your firebase account properly.?

I mean to say, make sure you have done this…

Note: Give me some time to contact with Googlers ok! Then I will be able to understand and solve this problem if there any problem in Firebase.

I definitely have activated it

Please wait. Ok! :slightly_smiling_face:

@Ariyan_AD I am waiting for you and thank you very much for your cooperation and help :hugs:

1 Like

Hey, @sherif
I have contacted with Google team, they made me believe that it’s not a problem of firebase. The problem is with the System, Means the way you are using.

You have to find a different way of sending the messages. Because the way you are using this message feature is incorrect, if you send any message to any number then it arrived only for 1 time but if you try 2nd time then It doesn’t because the data ( means the number ) was saved in FB database so it will not send any message to it again.

See this…

What if the user wants to uninstall the application and re-download it again?
And what about the period, will this message be sent to the user once for all?

Do you mean another OTP service?

If he reinstall , OTP doesn’t needed… Automatically it will get signed in or you can use firebase combo

Use this…

Or you can search any other method of doing this OTP verification.

@Still-learning
I am saving user data in firebase using his phone number as a tag
if the app doesn’t get a user number, How can the app get user data from firebase after reinstall? :thinking:

By the authentication method. Using authentication method firebase can save data as a SUDO user out side of your FB database ( In Google Data ). So you can only use 1 number for OTP Delivery.

What about trying to send an OTP message to your number, you sent me your phone number and we tried to send the message to it for the first time, not only to one number, but to two phone numbers you own, and it was for the first time, but you did not receive any messages

This may be becuase that Country is not properly setup. Or which server you have choosen in Firebase. If you choose US, then it will not work. If you choose SINGAPORE then it will work in India.

Lister Br0,
Try to send any other messages like ( How are you ? ) Using firebase cloud. OTP service is not possible, currently. Have you found any user who can use firebase OTP in Kodular.

OTP Service is possible in Android Studio.

There are phones that erase all the data stored in tinydb when you uninstall the app

This is the problem! You are facing. If someone reinstall the app then may tinydb will reset. And you will be able to get the OTP Screen. Then If you put the same Number & try again then it will not send OTP again, because the number was already saved in FB Outer layer Database.

I am wondering about this. I sent an otp to my number while creating the application on kodular many many times and there was no problem in my all projects
There is another thing. I changed the Package Name for this project,I created a new Gmail account and a new Firebase account,I added the new firebase token and the new firbase url to the new project and I extracted the apk file and downloaded it to the phone and tried to send a message to my number again… but I did not receive any otp messages
All these modifications that I made to the project as if it were a new project with no numbers registered in firebase
So why isn’t the new project sending an otp
There is something illogical but I can’t understand it
@Ariyan_AD