I have set up a share extension in my app and I have successfully enabled app groups. The share extension grabs the URL of a webpage. I would like that URL to be passed back to my app to be upload to Google Cloud Firestore and I want to use delegates to notify my main app when the share extension has grabbed a URL. How can I use delegate methods within the app group?
How to use delegates in app-groups
Why do you need to use delegate instead of notification or messaging ?
Could look at these:
h ttps://www.raywenderlich.com/1060-ios-extensions-document-provider-tutorial
tackmobile.com/blog/App-Groups-and-iMessage-Extensions-for-iOS-10.html
I don't think that those articles answer my questions. They do not provide any details about notifications or messaging to notify my app that the user has tapped the "Post" button in the share extension.
Sorry for that.
This one seems to do what you want, hope it will be more useful.
h ttps://github.com/mutualmobile/MMWormhole