Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deeplinking does not work from iOS push notification #193

Open
2 of 4 tasks
brianhdev opened this issue Jan 29, 2025 · 1 comment
Open
2 of 4 tasks

Deeplinking does not work from iOS push notification #193

brianhdev opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@brianhdev
Copy link

brianhdev commented Jan 29, 2025

Checklist

  • I have read the contributing guidelines
  • I have determined whether this bug is also reproducible in a vanilla project, such as the example app in this repository.
  • If possible, I've reproduced the issue using the master branch or latest release of this package.
  • This issue hasn't been addressed in an existing issue or pull request

Description

Push notifications sent from Klaviyo which contain a deeplink are NOT being propagated to the app on iOS, where they are on Android. From other sources such as a web browser, or contact link, deep linking works as expected.
We tried multiple variations of the open action deeplink (e.g. excluding the "kovo://" protocol, changing the deeplink path).

Expected behavior

We expect the push notification on press, to open the application and display the captured deeplink on the app UI (kovo://web-app/credit-score in this case).

Actual behavior

On push notification click, the app opens but the deeplink url provided is null. However, deeplinking does work from other sources (e.g. browser) and on android.

Steps to reproduce

Note this was the configuration used for the notification

Image

See attached screen recording

dl_demo.MP4

The following is logic for the deeplink provider:

Image

And what is rendered on the app:

Image

The Klaviyo React Native SDK version information

1.0.0

Environment Description

System: OS: macOS 15.1.1 CPU: (16) arm64 Apple M4 Max Memory: 256.05 MB / 64.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 23.4.0 path: ~/.nvm/versions/node/v23.4.0/bin/node Yarn: version: 1.22.22 path: ~/.nvm/versions/node/v23.4.0/bin/yarn npm: version: 10.9.2 path: ~/.nvm/versions/node/v23.4.0/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.16.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 24.1 - iOS 18.1 - macOS 15.1 - tvOS 18.1 - visionOS 2.1 - watchOS 11.1 Android SDK: Not Found IDEs: Android Studio: 2024.2 AI-242.23339.11.2421.12700392 Xcode: version: 16.1/16B40 path: /usr/bin/xcodebuild Languages: Java: version: 17.0.13 path: /usr/bin/javac Ruby: version: 3.2.0 path: /Users/bhong/.rbenv/shims/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.73.6 wanted: 0.73.6 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: true newArchEnabled: false

@brianhdev brianhdev added the bug Something isn't working label Jan 29, 2025
@ajaysubra
Copy link
Collaborator

Hey @brianhdev thanks for the detailed description of the issue. We will look into this and get back to you.

@ajaysubra ajaysubra self-assigned this Jan 29, 2025
@brianhdev brianhdev changed the title Deeplinking does not work from iOS badge notification Deeplinking does not work from iOS push notification Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants