[FIIREBASE_AUTH] Unable to establish connection on channel. #12791
Labels
Needs Attention
This issue needs maintainer attention.
platform: android
Issues / PRs which are specifically for Android.
plugin: auth
resolution: fixed
A fix has been merged or is pending merge from a PR.
type: bug
Something isn't working
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
I'm trying to sign in to Firebase Auth with an ID token like this:
It works fine on iOS but on Android I get this error:
I/flutter (28425): [error] Error signing in with Firebase: [firebase_auth/channel-error] Unable to establish connection on channel.
I'm on 4.19.5 of the firebase_auth flutter version and Android version 11
Reproducing the issue
final credentials = OAuthProvider("aProvider").credential(idToken: "idToken");
call await FirebaseAuth.instance.signInWithCredential(credentials);
The error occurs for both correct and incorrect provider and token Strings.
Firebase Core version
2.31.0
Flutter Version
3.19.6
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: