I set up a very simple expo app using managed workflow. This line here in the notifications section seems to be causing the issue:
token = (await Notifications.getExpoPushTokenAsync()).data;
On Web I get a console error saying:
Uncaught (in promise) Error: You must provide
app.json to use push notifications on web
And on the device (iphone 11) I get Possible unhandled promise rejection error. Error encountered while fetching expo token.
Any idea what the issue could be?