Skip to content Skip to sidebar Skip to footer

Firebase Android - Skipping Initialization

I am currently implementing an Android app, which uses Firebase Cloud Messaging. I've implemented everything according to the tutorial on the Firebase page. However, whenever I try

Solution 1:

You have to add the following to your android manifest:

<serviceandroid:name=".MyFirebaseInstanceIDService"><intent-filter><actionandroid:name="com.google.firebase.INSTANCE_ID_EVENT"/></intent-filter></service>

Solution 2:

I'm not sure, but I guess you missed:

FirebaseApp.initializeApp(getApplicationContext());

https://firebase.google.com/docs/reference/android/com/google/firebase/FirebaseApp

Post a Comment for "Firebase Android - Skipping Initialization"