I have an app that is off-appstore, developed just for couple of company devices , being regularly updated directly via xcode. App is using sqlite storage and also have a functionality to take images with the camera and store them internaly in dataDirectory using cordova.file plugin.
The problem is, that when update is performed via xcode, the files from dataDirectory gets deleted, however the data in sqlite storage are persistant. Is this a standard behaviour, or are there any options to keep the image files persistent when update is performed? I also tried syncedDataDirectory, but with same result. Any help would be appreciated!