You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v3] signInWithCredential does not return callback #155
I am trying to have the user log in via facebook, I am passing in token data but I am not getting success or failure and firebase is not being updated. I am using latest v3 branch. Using Genymotion emulator with android 6.0.0.
constfirestack=Firestack.initializeApp(env.firestack)firestack.auth().signInWithCredential({provider: 'facebook',token: data.credentials.token}).then((user)=>{//doesn't get called}).catch((err)=>{//doesn't get called either})
@braxtondiggs genymotion emulators don't have Google play services installed by default, which firebase requires. Without it it'll appear to hang.
I am working on some code to show a warning if it's missing, but in the meantime you just need to install play services, there was a link how to in another issue
Activity
auser commentedon Nov 22, 2016
@braxtondiggs Why are you calling
const firestack = Firestack.initializeApp(env.firestack)instead ofnew Firestack({})?Salakar commentedon Nov 23, 2016
@auser that's correct now, same as web api, old way is also supported.
Salakar commentedon Nov 23, 2016
@braxtondiggs genymotion emulators don't have Google play services installed by default, which firebase requires. Without it it'll appear to hang.
I am working on some code to show a warning if it's missing, but in the meantime you just need to install play services, there was a link how to in another issue
Salakar commentedon Nov 23, 2016
https://github.com/codepath/android_guides/wiki/Genymotion-2.0-Emulators-with-Google-Play-support
Salakar commentedon Nov 23, 2016
@braxtondiggs can you pull my fork and try now if possible? If it's missing Play Services it should now show this:
We'll get this documented on v3 branch.
[-]signInWithCredential does not return callback[/-][+][v3] signInWithCredential does not return callback[/+]