This plugin has a single function to return the path for specified app group in iOS, Which is useful when the app has multiple targets and want to share files between targets using cordova-plugin-file.
cordova plugin add cordova-plugin-ios-app-group-path
document.addEventListener('deviceready', onDeviceReady, false);
function onDeviceReady() {
AppGroupPath.getPath(
'group.com.app',
(path) => console.log(path),
(error) => console.log(error)
);
};
- iOS