[Firebase Auth] setAppVerificationDisabledForTesting for Android #5205
Labels
plugin: auth
type: missing-feature
A feature that is supported on the underlying Firebase SDK but has not been exposed to Dart API.
When the user log-in using Phone Verification (using phones numbers configured in the Firebase Console), the reCAPTCHA process starts.
In the Flutter Fire Documentation the method
setSetting
could enableappVerificationDisabledForTesting
feature just for iOS and Web.https://pub.dev/documentation/firebase_auth/latest/firebase_auth/FirebaseAuth/setSettings.html
This method could be used with android too. Reading the Kottlin SDK documentation, we have:
Once this has been called, every call to PhoneAuthProvider#verifyPhoneNumber() will skip the SafetyNet and reCAPTCHA verification flows.
https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/FirebaseAuthSettings.html#setappverificationdisabledfortesting
This feature is very necessary, because now I can't run integration tests using android emulators. The reCAPTCHA always blocks the integration test process.
The text was updated successfully, but these errors were encountered: