Skip to content

setCleverTapPushClickedPayloadReceivedHandler not called when app is cold started from a push notification #70

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

Closed
Irfan-KV opened this issue Oct 6, 2021 · 3 comments

Comments

@Irfan-KV
Copy link

Irfan-KV commented Oct 6, 2021

The requirement is to receive key-value pair from the push notification, and navigate to the required page. It works fine when the app is in background or foreground. But when the app is killed and we open the notification, the handler is not called.

@Irfan-KV Irfan-KV changed the title setCleverTapPushClickedPayloadReceivedHandler not called when app is killed setCleverTapPushClickedPayloadReceivedHandler not called when app is cold started from a push notification Oct 8, 2021
@darshanclevertap
Copy link
Contributor

This is a limitation of Flutter. When the app is cold started, we cannot set the callback for setCleverTapPushClickedPayloadReceivedHandler on the Flutter/Dart side of the app. The native side callback is already set but when it tries to provide the data to Flutter/Dart, since the app is cold-starting we cannot pass it.

@Irfan-KV
Copy link
Author

Irfan-KV commented Nov 16, 2021 via email

@mufayed
Copy link

mufayed commented Jun 19, 2023

any solution or work around for that issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants