Fetching the token failed

SDK Version: 38

Error: Fetching the token failed: Given string is empty or null

The app is asking for permission and after giving permission it is being ‘granted’ successfully. Next I am using let token = await Notifications.getExpoPushTokenAsync() to get the token but it returns anything.

Working on expo but standalone app not working.

My application was working fine with SDK 36, but when I switched to SDK 38, I started having this problem.

Can anyone help? Thanks.

Hey @enesy,

What platform is this occurring on? If Android, can you make sure you’ve followed the guide here: https://docs.expo.io/versions/v38.0.0/sdk/notifications/#android