fullstackreact / react-native-firestack

A firestack v3 react-native implementation
MIT License
715 stars 132 forks source link

Not working on android 6.0.1, "signInWithEmail" #255

Open mcmatan opened 7 years ago

mcmatan commented 7 years ago

I've been working so far with IOS (Simulator and device) and android nexus 5 (simulator) with android version 6.0. Now I've got a Samsung a3 for testing, android 6.0.1 and firestack isnt working. I get no response on the "signInWithEmail" promise. I've followed the trace Into the android native implementation and at function:

public void signInWithEmail(final String email, final String password, final Callback callback) 

After calling:

mAuth.signInWithEmailAndPassword(email, password) .addOnCompleteListener(new OnCompleteListener()

There is no response.

fxhereng commented 7 years ago

Same problem here

EDIT: Solved putting firebase version down to 10.0.1. My firestack build.gradle looks like this:

dependencies {
    compile 'com.facebook.react:react-native:0.20.+'
    compile 'com.google.firebase:firebase-core:10.0.1'
    compile 'com.google.firebase:firebase-auth:10.0.1'
    compile 'com.google.firebase:firebase-analytics:10.0.1'
    compile 'com.google.firebase:firebase-database:10.0.1'
    compile 'com.google.firebase:firebase-storage:10.0.1'
    compile 'com.google.firebase:firebase-messaging:10.0.1'
}

firestack version: 2.3.2