I've been struggling to get the root path of local storage provider. E.g. /private/var/mobile/Containers/Shared/AppGroup/0C7A3DB2-BA52-4B54-XXXX-E95027E673A9/File Provider Storage.
Users can grant access to folders for our drum sampler app in order to use audio samples without importing them and because we have facilities to quickly explore samples.
There are two reasons why i want to use this:
- To display "On My iPad"/"On My iPhone" when users explore the file
- Preferably in project files we would like to store paths to files in a way that projects still open correctly after re-installation of a user's device.
After poking around it seems that File Provider Storage is basically just an app-group named group.com.apple.FileProvider.LocalStorage however we don't have permissions to join that group.