getExpoPushTokenAsync not working on standalone app

Please provide the following:

  1. SDK Version: 40.0.0
  2. Platforms(Android/iOS/web/all): all
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

Hello folks, lets straight to the point. await Notifications.getExpoPushTokenAsync() no throwing any result on standalone app but when running on the expo client app it will thrown the push token. I already tried to show an alert but there is no alert showed on standalone. Anything suggestion? Thanks.

nb: const { status } = await Permissions.getAsync(Permissions.NOTIFICATIONS) give me a granted result

const token = await Notifications.getExpoPushTokenAsync();
Alert.alert("", token.data);
this.setState({ expoPushToken: token.data });

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