Closed fabyeah closed 3 years ago
I want to open an external link instead of opening the app. It seems to me this is possible via android custom activities described in the docs: https://notifee.app/react-native/docs/android/interaction#advanced-android-custom-activity
I can open a browser window from there, right? But in the example, no data is passed to the activity. How do I access notification data from the activity, to get the url?
Also, how would I achieve the same in iOS? Not possible?
It should be possible to do this with React Native Linking in onBackgroundEvent, checking for EventType.ACTION_PRESS.
Linking
onBackgroundEvent
EventType.ACTION_PRESS
I want to open an external link instead of opening the app. It seems to me this is possible via android custom activities described in the docs: https://notifee.app/react-native/docs/android/interaction#advanced-android-custom-activity
I can open a browser window from there, right? But in the example, no data is passed to the activity. How do I access notification data from the activity, to get the url?
Also, how would I achieve the same in iOS? Not possible?