I'm attempting to implement FirebaseUI sign-in with Google in my Android app. The problem is that it always fails [onFirebaseLoginUserError(..) called] with the error message:
LOGIN_CANCELLED: User closed login dialog.
Digging a little deeper, I've found that onActivityResult(..) is called with resultCode == 0 and
GoogleSignInResult.getStatus().getStatusCode() == 12501
GoogleSignInResult.getStatus().getStatusMessage() == "null"
--- But ---
Any idea why?
Background:
I've confirmed that my app can read/store data in my Firebase.
I've followed the instructions at:
Dependencies are:
compile 'com.firebase:firebase-client-android:2.5.0+'
compile 'com.firebaseui:firebase-ui:0.3.0'
compile 'com.google.android.gms:play-services-auth:8.3.0'