Cannot get GCM token for device
See original GitHub issueEnvironment
ExpoKit, running on Android, LG Stylo 3+
Steps to Reproduce
- Call
await Notifications.getExpoPushTokenAsync();
- Receive error
Expected Behavior
- Call
Notifications.getExpoPushTokenAsync();
- Receive token
Actual Behavior
I get this error.
Reproducible Demo
I can’t reproduce this issue in a demo. This happens every single time in my app, however. The first few calls to get the token seemed to work fine. Is this maybe some issue when you have already requested the Expo push token for that device?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Expo: “Error: Couldn't get GCM token on device”
I'm trying to get a notification token to use in Expo Notifications, but i'm getting the following error: “Error: Couldn't get GCM token...
Read more >Error: Couldn't get GCM token on device #7714
I'm trying to get a notification token to use in Expo Notifications, but i'm getting the following error: “Error: Couldn't get GCM token...
Read more >Android standalone app fails to get expo push token ...
According to the Logcat in AndroidStudio following error occurs: Error: Couldn't get GCM token on device. I had already transitioned from GCM to ......
Read more >Couldn t get GCM token for device, Expo push notifications, Google ...
If the provided ID token has the correct format, is not expired, and is properly signed, the method returns the . Getting GCM...
Read more >Error: Couldn't get GCM token for device : r/reactnative
Error: Couldn't get GCM token for device. Hey guys, I'm facing an error this day about push notification. I run the app on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Make sure you’re logged Expo. I improved when I logged in again.
exp login
run expo login login with your credentials and it will work fine…