Configure Marketing Cloud Engagement
Configure the Service Extension
Configure the Content Extension
Handle Carousel Notifications
Enable App Groups
Runtime Toggles
Event Tracking
Handle URLs
Data Protection and Privacy
Changelog
To ensure that push delivery events and the carousel template work as intended, add the App Groups capability to your app. This capability is required because the main app, the service extension, and the content extension are separate processes. For security and performance reasons, iOS limits interprocess communication between the extensions and the main app.
Set up your main app to use the App Groups feature. You can add the main app to a new group or an existing one.
Select your main app target.
On the Signing & Capabilities tab, add the App Groups capability.
Add an app group container or select an existing one. If you create a container, use a name in this format to make it easy to identify later:
group.<bundle-id>.sfmarketingcloudsdk
Add the container name to a new Info.plist key with these details:
SF_MARKETINGCLOUD_APP_GROUP_KEYgroup.com.salesforce.MyAwesomeApp.sfmarketingcloudsdkAfter you add an app group to the main app target, add the service and content extension targets to the same group.
SF_MARKETINGCLOUD_APP_GROUP_KEY value that you added in the Info.plist file for the main app.The SF_MARKETINGCLOUD_APP_GROUP_KEY value must be identical in the Info.plist files for the main app, the service extension, and the content extension.
Important