Push Notification Channel changes push-upgrade
You can use Campaign to send push notifications on Android and iOS devices. To perform this, Campaign relies on specific subscription services. Some important changes to the Android Firebase Cloud Messaging (FCM) service are released in 2024, and may impact your Adobe Campaign implementation. Your subscription services configuration for Android push messages may need to be updated to support this change.
In addition, Adobe highly recommends to move to the token-based connection to APNs rather than a certicate-based connection, which is more secure and scalable.
To ensure uninterrupted service, you must upgrade your mobile application(s) registered with Adobe Campaign to incorporate the latest authentication mechanisms for FCM (Android) and APNs (iOS).
Learn more on how to configure your mobile application certificates in Adobe Campaign Standard
Google Android Firebase Cloud Messaging (FCM) service fcm-push-upgrade
What changed? fcm-changes
As part of Google’s continual effort to improve its services, the legacy FCM APIs will be discontinued on June 20, 2024. Learn more about Firebase Cloud Messaging HTTP protocol in Google Firebase documentation.
Starting 24.1 release, Adobe Campaign Standard supports the HTTP v1 APIs to send Android Push Notification Messages.
Are you impacted? fcm-impact
If you are already using Adobe Campaign Standard to send push notifications, your implementation must be updated.
Transition to the latest APIs is mandatory to avoid any service distruption.
How to update? fcm-transition-procedure
Prerequisites fcm-transition-prerequisites
-
The support of HTTP v1 API mode has been added in 24.1 release. If your environment is running on an older version, a prerequisite for this change is to upgrade your environment to the latest Campaign Standard release.
-
The Android Firebase Admin SDK service’s account JSON file is needed to have the mobile application moved to HTTP v1. Learn how to get this file in Google Firebase documentation.
-
If you are still using this legacy version of the SDK, you must update your implementation with Adobe Experience Platform SDK. Learn how to migrate to Adobe Experience Plaform SDK in this article.
-
Make sure you have the Mobile App Configuration permission in Adobe Experience Platform Data Collection Mobile before performing the below steps. Learn more.
Transition procedure fcm-transition-steps
To move your environment to HTTP v1, follow these steps:
-
Browse to Administration > Channels > Mobile app (AEP SDK).
-
Select the specific mobile application that requires the certificate update.
-
Check the Update app credentials checkbox.
-
Provide the App ID (Android package name) from your Android project’s
build.gradle
file. For example,com.android.test.testApp
. Make sure to use different IDs for staging and production environments. -
Upload your Android private key JSON key file.
-
Click the Save button.
Apple iOS Push Notification service (APNs) apns-push-upgrade
What changed? ios-changes
As recommended by Apple, you should secure your communications with Apple Push Notification service (APNs) by using stateless authentication tokens.
Token-based authentication offers a stateless way to communicate with APNs. Stateless communication is faster than certificate-based communication because it doesn’t require APNs to look up the certificate, or other information, related to your provider server. There are other advantages to using token-based authentication:
-
You can use the same token from multiple provider servers.
-
You can use one token to distribute notifications for all of your company’s apps.
Learn more about Token-based connections to APNs in Apple Developer documentation.
Adobe Campaign Standard support both token-based and certificate-based connections. If your implementation relies on a certificate-based connection, Adobe highly recommends you to update it to a token-based connection.
Are you impacted? ios-impact
If your current implementation relies on certificate-based requests to connect to APNs, you are impacted. Transition to a token-based connection is recommended.
How to update? ios-transition-procedure
Prerequisites ios-transition-prerequisites
-
The support of Token-based authentication mode has been added in 24.1 release. If your environment is running on an older version, a prerequisite for this change is to upgrade your environment to the latest Campaign Standard release.
-
You need an APNs authentication token signing key to generate the tokens that your server uses. You request this key from your Apple developer account, as explained in Apple Developer documentation.
Transition procedure ios-transition-steps
To move your iOS mobile applications to the Token-based authentication mode, follow these steps:
-
Browse to Administration > Channels > Mobile app (AEP SDK).
-
Select the specific mobile application that requires the certificate update.
-
Check the Update app credentials checkbox.
-
Provide the App ID (iOS Bundle ID). You can find the iOS Bundle ID (App ID) in your app’s primary target in Xcode.
-
Upload your iOS p8 certificate file.
-
Fill in the APNs connection settings Key Id and iOS Team Id.
-
Click Save.
Your iOS application is now moved to the Token-based authentication mode.