Imbru Imbru - 7 months ago 163
Android Question

FirebaseInstanceIdService.onTokenRefresh never called

I have implemented Firebase for cloud messaging :

I have follow all the steps but FirebaseInstanceIdService.onTokenRefresh is never called.

the only message from firebase on the log is :

FirebaseInitProvider: FirebaseApp initialization unsuccessful

What can i do to get this token?


Setup the firebase sdk and generate a google-services.json and include it in your project. As described in this guide.