which payload do you use for testing? Try to send push notification with the following payload from Test push notification on your notification hub with the killed app on the phone:
{
"notification": {
"title":"test",
"body":"test",
"priority":"10",
"sound":"default",
"time_to_live":"600"
},
"data": {
"title":"test",
"body":"test",
"url":"https://example.com"
}
}
Azure notification hub 1.1.1 killed app problem
Bouraoui Mansouri
1
Reputation point
I am using the last ANH sdk the 1.1.1 i am getting the push when the app is in foreground or background but the only problem is when the app is killed the notification are not showing . FYI i use a NotificationListener to detect the push and the NotificationHub.start with my information .
I think that there is no receiver to get the push .
Is the last ANH sdk supposed that the reveiver included and we just need to start the hub?
If no , how to add the reveiver for a better result ?
1 answer
Sort by: Most helpful
-
sadomovalex 3,631 Reputation points
2020-10-07T15:03:17.737+00:00