Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

push notification trigger from Adobe campaign classic 7 but not receive on android app in background/killed

Avatar

Level 1

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@NavinBamane ,

To set the priority of push notifications to high, you need to modify the message payload sent from Adobe Campaign. Here are the steps:

  1. Open Adobe Campaign Classic 7 and navigate to the push notification delivery.

  2. In the Delivery wizard, go to the 'Content' section and click on the 'Advanced' tab.

  3. In the 'Advanced' tab, you will see a section called 'Message Priority'. Select 'High' as the message priority.

  4. 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.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

@NavinBamane ,

To set the priority of push notifications to high, you need to modify the message payload sent from Adobe Campaign. Here are the steps:

  1. Open Adobe Campaign Classic 7 and navigate to the push notification delivery.

  2. In the Delivery wizard, go to the 'Content' section and click on the 'Advanced' tab.

  3. In the 'Advanced' tab, you will see a section called 'Message Priority'. Select 'High' as the message priority.

  4. 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.

Avatar

Level 1

hii akshaaga,

 

but on delivery i have this option 

there is no section call 'Message Priority

NavinBamane_0-1677847862821.png

 

Regards

NB

Avatar

Employee Advisor

@NavinBamane ,

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.