question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sms Auto read not working in the latest version of the Auth library .

See original GitHub issue

Describe 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:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
namangt68commented, Apr 30, 2021

@yuchenshi Any update on this bug?

2reactions
dgilperezcommented, May 5, 2021

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found