Describe the bug
When using the Appsflyer SDK (version 6.15.1) with Flutter, the appsflyerSdk.onDeepLinking method is triggered automatically when the app returns to the foreground, causing the deep link to be re-emitted and reprocessed.
To Reproduce
Steps to reproduce the behavior:
- Integrate Appsflyer SDK version 6.15.1 in a Flutter project.
- Implement the
appsflyerSdk.onDeepLinking method to listen for deep links.
- Receive and process a deep link while the app is in the foreground.
- Move the app to the background.
- Bring the app back to the foreground.
- Observe that the
appsflyerSdk.onDeepLinking method is triggered again.
Expected behavior
The deep link should not be re-emitted and reprocessed when the app returns to the foreground.
- OS: macOS 14.7.2 darwin-arm64
- Android-arm64 • Android 14 (API 34)
- iPhone 16 Pro Max (mobile)
Additional context
I have tried to find a way to clear this information from the SDK but have not been successful. Any assistance or solution to this issue would be greatly appreciated. A suggested solution is to provide a way to clear the deep link information from the SDK after it has been processed by the appsflyerSdk.onDeepLinking method, either by default or through a configuration option in the setup.
Describe the bug
When using the Appsflyer SDK (version 6.15.1) with Flutter, the
appsflyerSdk.onDeepLinkingmethod is triggered automatically when the app returns to the foreground, causing the deep link to be re-emitted and reprocessed.To Reproduce
Steps to reproduce the behavior:
appsflyerSdk.onDeepLinkingmethod to listen for deep links.appsflyerSdk.onDeepLinkingmethod is triggered again.Expected behavior
The deep link should not be re-emitted and reprocessed when the app returns to the foreground.
Additional context
I have tried to find a way to clear this information from the SDK but have not been successful. Any assistance or solution to this issue would be greatly appreciated. A suggested solution is to provide a way to clear the deep link information from the SDK after it has been processed by the
appsflyerSdk.onDeepLinkingmethod, either by default or through a configuration option in the setup.