I'm using react-native to build the app. I need to navigate to two different routes depending on how the app is being opened. Is there a way that I could differentiate it?
Asked
Active
Viewed 570 times
0
-
You can use this refrence ----> https://stackoverflow.com/questions/34337117/detect-whether-react-native-ios-app-was-opened-via-push-notification – Pramod Mar 28 '20 at 11:49
-
I have to get a solution in android too. Could you please help me with that – SUBIN SUBRAMANIAN Mar 29 '20 at 03:50
-
This will solve you issue --> https://stackoverflow.com/questions/54879364/react-native-how-to-redirect-on-page-when-click-on-notification – Pramod Mar 29 '20 at 17:02