bug: (Android only) signInWithFacebook() doesn't trigger appStateChange nor authStateChange after successful login
See original GitHub issuePlugin(s):
FirebaseAuthentication
Platform(s):
Android
Current behavior:
Calling signInWithFacebook() on android and successful login return to the app but doesn’t add user to firebase authenticated users, doesn’t trigger appStateChange nor authStateChange and the app navigation is stuck and considered still inactive. this works successfully on web and iOS. Expected behavior:
calling signInWithFacebook() should successfully return to the app after successfull login and trigger authStateChange.
Steps to reproduce:
follow capacitor-firebase signInWithFacebook in android tutorial.
Related code:
insert short code snippets here
Other information:
Capacitor doctor:
Latest Dependencies:
@capacitor/cli: 4.4.0
@capacitor/core: 4.4.0
@capacitor/android: 4.4.0
@capacitor/ios: 4.4.0
Installed Dependencies:
@capacitor/cli: 4.3.0
@capacitor/android: 4.3.0
@capacitor/core: 4.3.0
@capacitor/ios: 4.3.0
[success] Android looking great! 👌
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
bug: authStateChange never fires. · Issue #140 - GitHub
Current behavior: When using const result = await FirebaseAuthentication.signInWithGoogle() for example, the login is successful and result.user ...
Read more >There is an error in logging you into this application. Please try ...
Launch the app Login with Facebook Authenticate FB profile. · Un_install the app and install again. · Now try to Login with Facebook....
Read more >Get Started with Firebase Authentication on Android
Using the Authentication emulator involves just a few steps: ... Sign in success, update UI with the signed-in user's information
Read more >Facebook Login for Android - Quickstart
The Facebook SDK for Android enables people to sign into your app with Facebook Login. When people log into your app with Facebook...
Read more >Can't sign in from a third-party service - Google Account Help
An error saying that your password and username are incorrect, even if you've entered the correct information. Note: If you have an account...
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 Free
Top 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
@yaberkane05, you might want to try my answer here: https://github.com/capawesome-team/capacitor-firebase/issues/243#issuecomment-1308481303
@morethal This is exactly the problem my linked comment solves. Please check if you did everything correctly and open a new issue if the problem persists.