简体   繁体   中英

Firebase auto SMS retrieval not working in firebase auth

I implemented the latest version of firebase authenticatin in my android app. In this version firebase auto SMS retrieval is not working like previous versions I want to retrieve SMS if the SIM is present in same phone.

I implented braodcast receiver but it is not working because of message format

How can I acheive auto SMS retrieval in android app? Is there any code implementation in the code or is there any additional code that can be added?

According to docs , this method of authentication has auto retrieval

Google Play services can automatically
// detect the incoming verification SMS and perform verification without
// user action.

You can look up if your google play service is up to date. I have used this auth several times and the SMS is automatically retrieved by google play services without any additional code

This is an issue introduced in latest firebase libraries.

It works till firebase BOM 25.11.0 and post that it is not at all working. I have tried many intermediate BOMs until 29.0.0 and no where it is working. I am not able to upgrade to latest version of firebase BOM because of this issue. Now I am forced to upgrade as I was getting runtime error related to OkHttp.

I have raised this issue some 3-4 months back. It seems it is not at all addressed. I am surprised to see how other

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM