hii all,
We try to send push notification on android device .
when send push notification and app is open or foreground we able to receive notification
but when app is in background or kill in mode we not able to receive notification
can any one help me to set notification priority on delivery level to high
we using acc7
on app side we getting this error
Error on Mobile App side-
Background messages only work if the message priority is set to 'high'
Regard,
NB
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
To set the priority of push notifications to high, you need to modify the message payload sent from Adobe Campaign. Here are the steps:
Open Adobe Campaign Classic 7 and navigate to the push notification delivery.
In the Delivery wizard, go to the 'Content' section and click on the 'Advanced' tab.
In the 'Advanced' tab, you will see a section called 'Message Priority'. Select 'High' as the message priority.
Save and publish the delivery.
As a result, the notifications should be delivered to the user's device even if the app is in the background or killed.
However, please note that some devices may have different requirements for how to handle push notifications in the background or when the app is killed.
To set the priority of push notifications to high, you need to modify the message payload sent from Adobe Campaign. Here are the steps:
Open Adobe Campaign Classic 7 and navigate to the push notification delivery.
In the Delivery wizard, go to the 'Content' section and click on the 'Advanced' tab.
In the 'Advanced' tab, you will see a section called 'Message Priority'. Select 'High' as the message priority.
Save and publish the delivery.
As a result, the notifications should be delivered to the user's device even if the app is in the background or killed.
However, please note that some devices may have different requirements for how to handle push notifications in the background or when the app is killed.
hii akshaaga,
but on delivery i have this option
there is no section call 'Message Priority
Regards
NB
Views
Replies
Total Likes
If you are not able to find the "Message Priority" option in Adobe Campaign Classic, you can try setting the priority to high using a custom payload.
Here's an example of how you can set the priority to high in a custom payload:
{
"aps": {
"alert": {
"title": "Your notification title",
"body": "Your notification message"
},
"content-available": 1
},
"priority": 10
}
In the above example, the priority field is set to 10, which is the value for high priority. Additionally, the content-available field is set to 1, which indicates that the notification should be delivered even if the app is in the background or killed.
You can use this custom payload while sending the push notification from Adobe Campaign Classic. You may also need to configure your app to handle the custom payload and display the notification accordingly.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies