how to pass the current user role data in firebase token code example
Example: how to check the current user in firebase android
@Override
public void onStart() {
super.onStart();
FirebaseUser currentUser = mAuth.getCurrentUser();
if (currentUser == null) {
// No user is signed in
} else {
// User logged in
}
}