Working with App Groups

PDF for offline use
Related Articles:

Let us know how you feel about this

Translation Quality


0/250

last updated: 2017-03

An App Group allows different applications (or an application and its extensions) to access a shared file storage location. App Groups can be used for data like:

Configure an App Group

The shared location is configured using an App Group, which is configured in the Certificates, Identifiers & Profiles section on iOS Dev Center. This value must also be referenced in each project's Entitlements.plist.

Provisioning

The app group will have an identifier, which is typically your Bundle ID with a group. prefix. For example, we could use the Bundle ID com.xamarin.WatchSettings and the app group group.com.xamarin.WatchSettings.

Entitlements.plist

As well as configuring the provisioning profile, Enable App Groups in the Entitlements.plist and enter the ID you've chosen:

Deployment

Ensure you configure the App Group correctly in your deployment provisioning.

For more information, please see the Working with App Groups section of our Device Provisioning documentation.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.