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 ÃÛ¶¹ÊÓƵ Campaign implementation. Your subscription services configuration for Android push messages may need to be updated to support this change.
In addition, ÃÛ¶¹ÊÓƵ 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 ÃÛ¶¹ÊÓƵ Campaign to incorporate the latest authentication mechanisms for FCM (Android) and APNs (iOS).
Learn more on how to configure your mobile application certificates in ÃÛ¶¹ÊÓƵ 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 .
Starting 24.1 release, ÃÛ¶¹ÊÓƵ Campaign Standard supports the HTTP v1 APIs to send Android Push Notification Messages.
Are you impacted? fcm-impact
If you are already using ÃÛ¶¹ÊÓƵ 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 .
-
If you are still using this legacy version of the SDK, you must update your implementation with ÃÛ¶¹ÊÓƵ Experience Platform SDK. Learn how to migrate to ÃÛ¶¹ÊÓƵ Experience Plaform SDK in this article.
-
Make sure you have the Mobile App Configuration permission in ÃÛ¶¹ÊÓƵ 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 .
ÃÛ¶¹ÊÓƵ Campaign Standard support both token-based and certificate-based connections. If your implementation relies on a certificate-based connection, ÃÛ¶¹ÊÓƵ 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 .
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.