Can App Group Data Containers be used between apps by the same developer to share resources?

Asked on 08/01/2024

1 search

Yes, App Group Data Containers can be used between apps by the same developer to share resources. This is a great way to share data between your apps while keeping it protected. For example, apps like Palabout Calendar and Palabout Mail can share data about contacts and events using an app group container.

To avoid displaying prompts when your own apps need to access your team's container, make sure to declare the entitlement in your info plist, format your group identifiers correctly, and use the appropriate Foundation API container URL for the security application group identifier to get the path to your shared container.

For more details, you can refer to the session What’s new in privacy at the timestamp 12:23.