-
My device receive a notification with a deeplink in the data object. Now i want, that when a user click the notification, the deeplink will performed and opens the correct page in the capacitor app. On Android you can build your notification and add the link to it. Everything works as expected. But on iOS i dont know how to perform the action by on click (notification). I already send the link and convert it in the NotificationServiceExtension to a deeplink. I tried to catch the didReceive Event but without any results. How can i implement a simple method in my app delegate to open a deeplink send by firebase? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I always send the link as a data payload with the notification. Then I listen for the |
Beta Was this translation helpful? Give feedback.
I always send the link as a data payload with the notification. Then I listen for the
notificationActionPerformed
event and read the link from the data payload and navigate. No need to convert anything in the NotificationServiceExtension. At least that's my approach.