Notifications don't work in standalone android app

Hi, I’m trying to setup push notifications for Android. Everything works fine in development, I can get the ExponentPushToken and send notifications from the notification tool as well, but when I build and try to do the same in a standalone app it doesn’t work.

When I try using the ExponentPushToken after installing the built app on a device, the tool just gives an error saying “There was an unknown error with the FCM server. See this error’s details for more information.” - Have no clue on how to even check the ‘details’ as it isn’t shown anywhere on the notification tool.

“dependencies”: {
“expo”: “^32.0.0”,
“firebase”: “^5.10.0”,
“react”: “16.5.0”,
“react-native”: “”,
“react-native-elements”: “^1.1.0”,
“react-navigation”: “^3.8.1”

The app isn’t ejected, google services file from firebase is properly linked, and my firebase secret key has been uploaded to the expo servers.

Is there anything else I need to provide?

MismatchSenderID was the issue, solved now.

Glad you got things resolved, @sulhan!

How did you solve this? I am experiencing this problem right now

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