-
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 #31
Comments
@ivancaas did you do these steps in ios as it is shown in ReadMe? iOSCall
Detecting notification click and get payload dataMake sure you follow previous step for getting payload data properly. NotifierManager.addListener(object : NotifierManager.Listener {
override fun onNotificationClicked(data: PayloadData) {
super.onNotificationClicked(data)
println("Notification clicked, Notification payloadData: $data")
}
}) |
@mirzemehdi @ivancaas In order to handle start arguments, you need to read user Info from |
@mirzemehdi was right about something missing, apparently I forgot to add the "NotifierManager.shared.initialize" line in the iOS App?... too many hours coding, the rest was OK, after adding it everything works as expected. Thanks both for your help! |
I might be wrong as I'm not an expert in iOS myself. But when I click the notification with the app in Background/Opened it gets to onNotificationClicked, but when the app is closed and I tap, the app opens but nothing happens as it's not calling that function somehow
The text was updated successfully, but these errors were encountered: