I have stopped receiving push notifications in the independent android app

Last week I was implementing firebase analytics expo and I was creating a new firebase android application because the one that did not match the name of the package … I don’t know if this has to do but I have noticed that the notifications in android they do not arrive, in iOS yes.
I have used expo notifications tool and I get this error message.
InvalidCredentials: Unable to retrieve the FCM server key for the recipient’s app. Make sure you have provided a server key as directed by the Expo FCM documentation.
I have made sure that I have provided the server key as indicated by the Expo FCM documentation
expo SDK 37

notifications depend on google-services.json and so does firebase analytics. if they are incompatible credentials then this might cause issues.

make sure to go over the instructions on https://docs.expo.io/guides/using-fcm/ again, you may need to switch the server credentials now that you created a new firebase app https://docs.expo.io/guides/using-fcm/#uploading-server-credentials

Thanks, I was able to fix the problem

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.