I want to make a Document Provider extension for an app originally developed in IONIC.
I understand that I can use .xcodeproj file to open the project in XCode and then add new target for intended extension.
However, I’m confused about shared storage between my AppGroup (App & Extension).
According to NSFileManager (now FileManager), you need to store files in a shared container with group identifier.
The method to achieve this is following:-
func containerURL(forSecurityApplicationGroupIdentifier groupIdentifier: String) -> URL?
According to IONIC Developer, the files currently reside in Document Directory of App where we need to have those files in a shared container as mentioned above.
How can we achieve that?