Skip to main content
Contributor I
July 31, 2024
Beantwortet

Open a browser with push notification

  • July 31, 2024
  • 1 Antwort
  • 397 Ansichten

Hi guys, I’m wondering if are there anyway that I can send a push notification campaign, when user tap that notification, instead of opening the app, it will open browser and direct to the link I wanted

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von Maxbuzz

Hello @phu  There is not out of the function which supports this behavior. You will have to handle this yourself on the APP side.

https://github.com/klaviyo/klaviyo-android-sdk/blob/e49a36bca91dcd2949e7cc9a8f8023e4ee5ffe65/sdk/push-fcm/src/main/java/com/klaviyo/pushFcm/KlaviyoNotification.kt#L50

Look at this example on how Klaviyo listen to Remote Message, you can intercept the message and then decide if you want to open the deeplink or redirect user to a browser

1 Antwort

MaxbuzzAntwort
Partner
August 1, 2024

Hello @phu  There is not out of the function which supports this behavior. You will have to handle this yourself on the APP side.

https://github.com/klaviyo/klaviyo-android-sdk/blob/e49a36bca91dcd2949e7cc9a8f8023e4ee5ffe65/sdk/push-fcm/src/main/java/com/klaviyo/pushFcm/KlaviyoNotification.kt#L50

Look at this example on how Klaviyo listen to Remote Message, you can intercept the message and then decide if you want to open the deeplink or redirect user to a browser

https://theforms.pro