You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android notification taps are tricky to handle on Expo Router - the router attempts to navigate to a /notification.click route or goes to a route missing page (404). It's possible to detect it via React Native Linking but it doesn't seem to be possible to keep Expo Router from trying to navigate
It'd be nice to have the option to customize the notification.click value set here, or remove that element entirely if the app should open, but not navigate to a new route
Since this takes place in the updateOptions method, it seems like it might not be too hard to make configurable - would be happy to try to write a PR if adding this seems like a reasonable idea.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
/notification.click
route or goes to a route missing page (404). It's possible to detect it via React Native Linking but it doesn't seem to be possible to keep Expo Router from trying to navigatenotification.click
value set here, or remove that element entirely if the app should open, but not navigate to a new routeupdateOptions
method, it seems like it might not be too hard to make configurable - would be happy to try to write a PR if adding this seems like a reasonable idea.Beta Was this translation helpful? Give feedback.
All reactions