I am using window.resolveLocalFileSystemURL in cordova to access file system. However I could not find a way to get the directory path using app group.
In IOS, I can easily use containerURLForSecurityApplicationGroupIdentifier.
Cheers
I am using window.resolveLocalFileSystemURL in cordova to access file system. However I could not find a way to get the directory path using app group.
In IOS, I can easily use containerURLForSecurityApplicationGroupIdentifier.
Cheers
To do that one need to write a plugin, that will access shared group directory using
-[NSFileManager containerURLForSecurityApplicationGroupIdentifier]
as I didn't find an existing cordova plugin that does that. Writing plugin like that is pretty easy if you're familiar with cordova plugin system.
© 2022 - 2024 — McMap. All rights reserved.