Reputation: 55
My CN1 app produce file here FileSystemStorage.getInstance().getAppHomePath(). I can correctly read/write there files.
This folder name is like:- file://var/mobile/Containers/Data/Application/D94F3BF0-821F-4B3E-B03C-981D883CFDCD/Documents/com.factoryname.appname.app/folder/file
When i install a new version for my app on IPad, this part (D94F3BF0-821F-4B3E-B03C-981D883CFDCD)
change and after i cannot retreive the needed files.
How can I guarantee that this part remains unchanged? Thank you for your help.
Upvotes: 1
Views: 68
Reputation: 1116
Try using the Storage class if possible. Also, you might add the build hint to use the "new" Storage location, ios.newStorageLocation set to true.
Upvotes: 1