Android: Push notifications received in Expo Client but not in standalone?

#1

I’m able to obtain a push token from both the Expo Client and standalone versions of my app.

However, when I send a push, only the Expo Client notification is received.

I’m not seeing any errors in my server logs that indicates anything other than a successful push. This is the same build of the app, published to Expo and loaded via the latest client and built using exp build:android (Expo handles keystore) and distributed via Google Play Internal release channel.

Is there some other difference that would cause standalone to not receive the push?

sdkVersion 26.0.0
Android Expo client: 2.4.0

Possibly related to https://github.com/expo/expo/issues/1568

1 Like

#2

Hi-

I think you’ll need to configure FCM and rebuild the APK. Google is getting rid of GCM and its starting to break.

https://docs.expo.io/versions/latest/guides/using-fcm

Charlie

0 Likes

#3

Thanks!

I set up FCM and built a new APK, and the notifications are now working.

3 Likes

#4

excllent. glad its working for you.

0 Likes

#5

Hm, publishing in XDE now fails with this error after setting up FCM…

Screenshot_041318_071307_PM

0 Likes

#6

I copied my google-services.json file to the Expo XDE directory and was able to publish.

Not sure if this is a bug or an undocumented requirement. ¯\_(ツ)_/¯

0 Likes

closed #7

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

0 Likes