Ios Share Extension App Group

This post discusses how to use couchbase mobile to share data between your ios app and ios app extension across devices.
Ios share extension app group. To enable data sharing use xcode or the developer portal to enable app groups for the containing app and its contained app extensions. Finding standard locations like the documents directory doesn t work for shared data. For your main app target and for the onesignal notification service extension target.
If you own all the apps that need to share the data they have the same team id then app groups would be the simplest way of sharing data between your apps. Next register the app group in the portal and specify the app group to use in the containing app. If you want your containing app and its extensions to be able to share data use xcode or the developer portal to enable app groups for the app and its extensions.
You may need to setup 2 provisioning profiles. Your app s extensions run in somebody else s app data sharing isn t automatic. To the right of the project navigator look for project and targets.
See step 5 of generate an ios push certificate. In the project navigator click on the xcodeproj file should be at the top. Enabling the pocket share extension on ios 13 and 14.
In the app tap tap me this will open safari. Next register the app group in the portal and specify the app group to use in the containing app. The pocket share extension on ios 13 is easy to enable and only takes a minute.
In an earlier post we discussed how you can use couchbase lite as a standalone embedded data store to share data between your ios app and it s app extension on the same device in this post we will extend that to leverage the sync gateway to enable data synchronization. Once pocket has been enabled saving to pocket is quick and easy. In this post i ll go through the details of how to make it all work.