onActivityResult not fired!
See original GitHub issueI’m using the new version 0.4.1 of the auth library (on a device with Android 6.0.1).
I’m trying to use the Google sign in provider, launching this intent:
startActivityForResult(
AuthUI.getInstance()
.createSignInIntentBuilder()
.setProviders(
AuthUI.EMAIL_PROVIDER,
AuthUI.GOOGLE_PROVIDER)
.build(),
RC_SIGN_IN);
When i login with email&password everythings works fine, but when i try to login with the google sign in button, i select the account and i can see a loader for about 3-4 seconds: then the loader disappears and nothing else happens, i still remain into the activity with the two login buttons.
onActivityResult
isn’t fired and i don’t know if login was successful or not.
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:39 (6 by maintainers)
Top Results From Across the Web
OnActivityResult not working (Android) - Stack Overflow
I am using a simple function OnActivityResult, but it is not returning me desired results. Please see my code and tell me where...
Read more >Onactivityresult not working in android studio - CodeProject
I have write the above code to pick a file and do something but it is not working. In the end i have...
Read more >onActivityResult not working? (Android forum at Coderanch)
I am working on an app and why somethings are not working please assist:. In my code, the onActivityResult is not seeming to...
Read more >Getting a result from an activity - Android Developers
... Communicate with fragments · Working with the app bar · Displaying dialogs with DialogFragment ... Restrictions on non-SDK interfaces.
Read more >Undocumented startActivityForResult behavior for Fragment
When we call Fragment's startActivityForResult (note: NOT activity?. · When Android SDK returns onActivityResult , the requestCode has been altered. · The P...
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
Any login method makes my app to close. No error msg is printed. It just closes.
I was having this issue because I had set no history for the activity calling the firebase ui in the manifest file. Removing
android:noHistory="true"
from the activity inside manifest solved the problem