My App crashes whenever I call this code:
if (FirebaseAuth.getInstance().getCurrentUser() == null) {
startActivityForResult(
AuthUI.getIn
Change this:
compile 'com.firebaseui:firebase-ui-auth:3.3.0'
into this:
compile 'com.firebaseui:firebase-ui-auth:4.0.0'
from the docs:
As of version 4.0.0, FirebaseUI has the following dependency versions:
Library Version
firebase-auth 16.0.1
play-services-auth 15.0.1
firebase-database 16.0.1
firebase-firestore 17.0.1
firebase-storage 16.0.1
more info here:
https://github.com/firebase/FirebaseUI-Android#dependencies