-
Notifications
You must be signed in to change notification settings - Fork 23
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
Notification Click not working when iOS app is closed #84
Comments
hello @sereden. After you clicking the notifcation, you don't see "onApplicationDidReceiveRemoteNotification" in the logs? Not sure exactly, why this would happen. But from stackoverflow that's what I found: |
Also do you send notification from firebase interface, or using an API? |
@mirzemehdi Thank you for the response! I saw a stackoverflow thread, but the issue occurs for the release build across the different devices. |
I've found 3 cases when it could happen:
|
Thank you @sereden for providing these cases. Will check it out |
Thank you, @mirzemehdi . Regarding 3rd case, I haven't found the root cause, but the side effect is that in my case userNofiicationCenter(didReceiveNotificationResponse: UNNotificationResponse) was not invoked. However, the KMPNofifier SDK has been initialized. The workaround was to fork a repo, make those methods public, and implement delegate on the iOS level.
I still assume that exists some initializing issues from my side (maybe due to workaround with requesting notification permission). |
KMPNotifier and Kotlin version:
kmpnotifier version: 1.2.1, kotlin version: 2.0.20, iOS 18 (device and simulator)
Hi!
I have the following setup:
onApplicationDidReceiveRemoteNotification
is not called when the app was closed. However, initialize is always called.Also, added the following capabilities:
Any ideas, on what could be an issue of the onNotificationClicked is not invoked?
The text was updated successfully, but these errors were encountered: