Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

null pointer exception during registering user to the firebase

FirebaseUser mFirebaseUser = mAuth.getCurrentUser();
if(mFirebaseUser != null) {
    currentUserID = mFirebaseUser.getUid(); //Do what you need to do with the id
}
Source by www.py4u.net #
 
PREVIOUS NEXT
Tagged: #null #pointer #exception #registering #user #firebase
ADD COMMENT
Topic
Name
2+5 =