-
Notifications
You must be signed in to change notification settings - Fork 38
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
Bug: Push notification callback on Android not triggerd from cold start #239
Bug: Push notification callback on Android not triggerd from cold start #239
Comments
Ok I tested with older versions of the clevertap-cordova plugin: The last version which works is 2.6.2. Starting from 2.7.0 it does not work anymore. So I am pretty sure this is a bug in either the Android SDK or the clevertap-cordova SDK. |
@malua This issue wasn’t reproducible on the sample app agnostic of the version. Can the reproduction steps be shared? |
I replied in the support ticket. |
Thank you so much! <3 |
Hey there,
We just discovered that push notifications in on Android when the App is completely closed won't trigger the
onPushNotification
callback.This definitely worked in the past and it still works if the App is in the background. But when the app is killed nothing is triggered.
I found this undocumented event
onCleverTapPushNotificationTappedWithCustomExtras
from an old PR a5f4921, which is connected to the same (but old) issue #84.But it is not triggered as well.
We haven't changed anything in our setup, still using Capacitor 5 with which it definitely worked.
We call
ActivityLifecycleCallback.register(this);
in theCustomApplicationClass
.Do you have any idea what could be the problem?
Thanks and all the best,
Lukas
The text was updated successfully, but these errors were encountered: