provide 'owner' and 'slug' in app.json to use push notification

Hello,

I m getting below error to receive token by Notifications.getExpoPushTokenAsync(); in web app

You must provide owner and slug in app.json to use push notifications on web. Learn more: https://docs.expo.io/versions/latest/guides/using-vapid/.

Please tell me why is this error. And how can I fixed it.

Thanks and regards,

1 Like

+1 same issue here.

@mukul_1980, did you fixed this issue?

this is my code.
try {
pushToken = await Notifications.getExpoPushTokenAsync();
} catch (error) {
alert(error.message);
}

Regards,
Diego

where write a code?.. because i get same issue here

expo-notifications doesn’t support web

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