Android standalone app doesn’t get Expo Push Notification Token

  1. SDK Version 37:
  2. Platforms Android:

If I start the app with expo client the push notifications work fine. If I build standalone app and install it with adb install on my android device, the standalone app doesn’t work. I build around alerts and the alert start to not work after: await Notifications.getExpoPushTokenAsync();
I did all the steps which are required for getting fcm running: https://docs.expo.io/versions/latest/guides/using-fcm/?redirected

Does the standalone app only work with google play store because this I didn’t try yet.

1 Like

same issue here. and when i tracked the Error it was

image

P.S: the function works in (Production mode , Expo Client app) but not in APK mode

it’s wired because i followed all steps required for Standalone and this error has been thrown

1 Like

this fixed it for me: https://github.com/expo/expo/issues/7727#issuecomment-611544439

1 Like

Yaah finally it’s working.
Expo team should add APi key to docs

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