Notifications.getExpoPushTokenAsync() offline work around

Hi, I just used expo notifications in android it works perfect, now I have a question when I run Notifications.getExpoPushTokenAsync()
It seems it needs an Internet connection to give me the result. But my app mostly works offline.
So I was wondering if there a way to get the token offline? Or it absolutely needs the internet.

or Maybe any other way to calculate the Notification Token, by any package which doesn’t need detach

I mentioned this on Github, but for others who are looking for an answer, there isn’t an Expo-workaround for getting the Push token while offline. I’m not sure if there’s another package you could use to achieve this either…

Out of curiosity- if the app works offline, why do you need the Push Token?

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