I got “Error: Couldn’t get GCM token for device” as well.
I am just testing the push notification example on documentation, but it always throws
Error: Couldn’t get GCM token for device when executing
I have tried both expo SDK25 SDK28 on android 8.0 and ios 10, and none of them can get GCM token.
Notifications.getExpoPushTokenAsync() works perfectly in my project after I start my project with
expo start instead of