Firebase Cloud Messaging (notifications)

library link: Reference link: official link: App Level Build.Gradle : implementation ‘’ implementation ‘’ step 1: create a service class that extends firebaseMessagingService class: public class FirebaseMessagingService extends { @Override public void onMessageReceived(RemoteMessage remoteMessage) { //get default notificaion data String mesgeTitle=remoteMessage.getNotification().getTitle(); //get extra data String msgType=remoteMessage.getData().get(“msg_type”); } } step 2: enable …

Firebase Cloud Messaging (notifications) Read More »

Firebase Error Exceptions

1.e instanceof FirebaseNetworkException– 2. FirebaseAuthUserCollisionException–already registed with email 3. FirebaseAuthEmailException–password reset end email problem 4. FirebaseAuthInvalidCredentialsException–wrong / invalid email and password 5. FirebaseAuthInvalidUserException– user is disabled,ERROR_USER_NOT_FOUND delted form console