I am curious if the Adobe Campaign Classic mobile app service offers a similar feature to the "content-available" field found in the iOS configuration of Adobe Campaign Standard.
We are currently working on tracking push notifications, and the app team has requested us to enable this specific field which is necessary for tracking received notifications. However, since we are using Adobe Campaign v7, this field is not available. My question is: does Adobe Campaign v7 have any configuration options or fields that can serve the same purpose as content-available?
Below link has the information about content-available :
Thanks.
Views
Replies
Total Likes
Hi @sraz ,
In Adobe Campaign Classic (v7), there isn’t a direct equivalent to the “content-available” field used in Adobe Campaign Standard for iOS push notifications. The “content-available” field is a specific feature in iOS push notifications used to trigger background processing or silent notifications.
However, you can implement similar functionality by considering the following approaches:
1. Custom Push Notification Parameters: You can include custom parameters in the push notification payload that can be used by your app to handle specific actions or trigger background processes. Modify your push notification delivery settings to include additional fields or flags that your app can interpret as instructions for background processing.
2. Application-Specific Handling: If your app needs to perform certain actions without displaying a notification, you can use silent push notifications by sending a push message with an empty alert. This approach involves configuring your app to handle these notifications appropriately. While not exactly the same, you can configure your push notification message payloads to include the necessary data for silent notifications.
Best regards,
MEIT MEDIA (https://www.meitmedia.com)
Contact Us: infomeitmedia@gmail.com
Thank you @MeitMedia for your response.
I previously spoke with the app team about adding a custom parameter to the push payload. However, they mentioned that the OS won’t recognize this when the app is in the background.
Typically, the payload includes a "content-available" field that wakes the app when it’s in the background, allowing the `trackNotificationReceive` API to track that the notification was delivered to the device.
{
"aps":{
"alert":
"body". "This is the content of my push notification",
"title". "Push Notification Title"
};
"content-available":1,
"categon.""NEW MESSAGE CATEGORY"
"badge":2,
"mutable-content":1,
"sound" "default"
};
"custom _field1":"custom_valuel",
"custom _field2":"custom_value2",
but if we place this in a custom variable, the payload structure would be like and the OS won’t understand it or wake up the app.
{
"aps":{
"alert":
"body". "This is the content of my push notification",
"title". "Push Notification Title"
};
"categon.""NEW MESSAGE CATEGORY"
"badge":2,
"mutable-content":1,
"sound" "default"
};
"custom _field1":"custom_valuel",
"custom _field2":"custom_value2",
"content-available":1,
Right now, we can't track if a push notification is delivered to an iOS device when the app is in the background. However, when the app is in the foreground, we can track it. We can still track when the push notification is clicked in both scenarios.
Thank You.
Views
Replies
Total Likes
Hi @sraz ,
{
"aps": {
"alert": "This is the content of my push notification",
"title": "Push Notification Title",
"badge": 2,
"sound": "default",
"content-available": 1
},
"custom_field1": "custom_value1",
"custom_field2": "custom_value2"
}
Unfortunately, without native support for the content-available field, your options are constrained to these workarounds. If tracking background notifications is critical, exploring an upgrade to another push notification service that fully supports this feature might be worth considering.
Best regards,
MEIT MEDIA (https://www.meitmedia.com)
Contact Us: infomeitmedia@gmail.com
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies