Sms Auto read not working in the latest version of the Auth library .
See original GitHub issueDescribe your environment
- Android Studio version: 4.1.2___
- Firebase Component: auth____ (Database, Firestore, Storage, Functions, etc)
- Component version: 20.0.2_
Describe the problem
SMS auto read does not work with the latest version of the libraries .
Steps to reproduce:
In the sample just add the the json and required application Id . onVerificationCompleted()
callback does not get called in the latest version of the library . If we use the old version onVerificationCompleted()
gets called automatically with out needing OTP.
Working
implementation platform('com.google.firebase:firebase-bom:25.10.0')
Not working
implementation platform('com.google.firebase:firebase-bom:26.4.0')
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Firebase auto SMS retrieval not working in firebase auth
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...
Read more >Automatic SMS Verification with the SMS Retriever API
With the SMS Retriever API, you can perform SMS-based user verification in your Android app automatically, without requiring the user to ...
Read more >How to enable SMS verification code autofill in Android
Starting with Android 9, you can make two-factor authentication even easier.
Read more >Android automatic SMS verification - Google's SMS retriever API
Debug and Release APK's might have different Hashcodes, make sure you get hashcode from release APK. Implement before Jan 9th, 2019 and upload ......
Read more >Authenticate with Firebase on Android using a Phone Number
Add the dependency for the Firebase Authentication library ... your app will always use compatible versions of Firebase Android libraries.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@yuchenshi Any update on this bug?
hey @yuchenshi, I see from your message that this is probably part of some internal / proprietary part of the codebase - would you be so kind to cross post any advances on b/183417347 here for us to follow?
This is a pretty major bug in our eyes, it turns a seamless auth service into a manual and error prone one …
Thanks!