Skip to content

appsFlyer.onDeepLink is not triggered when app is launched from kill state #639

@amitkumarcoding

Description

@amitkumarcoding

Report

Plugin Version

ℹ Please replace these two lines with the plugin version.
6.13.1

On what Platform are you having the issue?

ℹ Please replace these two lines with the SDK version.
android

What did you do?

Configured the AppsFlyer SDK using appsFlyer.initSdk() with onInstallConversionDataListener: true.
Implemented both appsFlyer.onInstallConversionData() and appsFlyer.onDeepLink() listeners in the main app component.
Ran the app using yarn android.
Clicked on a OneLink containing deep link parameters while the app was not running (killed state).

What did you expect to happen?

Expected the appsFlyer.onDeepLink() event to be triggered and receive the deep link data (from OneLink) when the app was opened from the killed state.

What happened instead?

The app launched successfully from the OneLink.
However, appsFlyer.onDeepLink() was not triggered.
No deep link event was received in the listener.
This breaks deferred deep linking flow for returning users who open the app via a OneLink after install.

Please provide any other relevant information.

This issue occurs only when launching the app from a killed state via a OneLink.
Real-time deep links work when the app is already open or in the background.
Tested on multiple Android devices.
Using React Native 0.72.x.
This issue started appearing after upgrading to plugin version 6.13.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions