How to trigger a deep link from a local notification?
See original GitHub issueHi,
How can I trigger a deep link from a FCM.presentLocalNotification
?
I’m using React Native 0.45.0 with react-native-fcm 7.0.3 and I’m running in a real Android device and in an emulator too.
All notifications are working well, but I didn’t find a way to load a deep link when the user press on the local notification (showed on the Android notification bar).
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How do I implement deep links in local notification
This is where you intercept the notification tap and call the appropriate modules either using OpenURL or doing a direct push or present...
Read more >Start an Activity with a Deep Link | Notifications in Android
My Online Courses https://stevdza-san.com☕ Buy me a Coffeehttps://ko-fi.com/stevdza_san Wanna become a member?
Read more >URLs, Links and Deep Links - OneSignal Documentation
This guide explains how to open to a specific page of your app or website using push notifications. For options using Email or...
Read more >iOS: How to open Deep Links, Notifications and Shortcuts
User taps on the deeplink outside of the app · AppDelegate detects the link and triggers openUrl delegate method (or ContinueUserActivity ...
Read more >Create a deep link for a destination - Android Developers
Create an implicit deep link · In the Design tab of the Navigation Editor, select the destination for the deep link. · Click...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shimatai you can check if the notif has
opened_from_tray
I’m working on this now. You can use the notification listener to grab notification details and use your router (in my case react-native-router-flux) to trigger the desired action and show the right view.
If you’re using URL schemes seems like Crossroads is the routing lib of choice for projects like this.
@shimatai your thumbs up indicates this maybe solved your issue. Is that the case? If so, @evollu you can probably close this.