How to navigate to a specific screen from Expo Notification

How to open the app with a specific screen comming from expo notification?

Depending on what you are trying to do and how you are doing it :

If you are using expo notifications in the payload - add the screen name you want to go to on your server side.

On the client side in your notification event listener - use that property to navigate to that screen. Are you using react navigation?

That’s what i was trying, but wasn’t working, when comming from notification Expo client was taking time before Expo App could read rightly the data, i had to fix the code to catch the values from notification, once app is truly running. [SOLVED]

1 Like

Yeah you will have to test it on a real device for notifications to work. Good to hear you got it working

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