I have built 1 app that has to run on iOS, android and Windows Phone. all work fine apart from iOS. My app takes a photo using the camera, resizes that image and saves the image.
On iOS, these images were being saved into the tmp directory of the application, which was being deleted, so now i save the images into the Documents folder.
I then save the path to this image into my sqlite database. On my html page, i reference the file using the url, such as
var/mobile/application/GUID-HERE/Documents/imageName.jpg
Now it seems that when i rebuild my application in xCode, the application guid is changed, so all my file references that have been previously saved, are now invalid.
So
- Can i reference the documents folder relatively from my HTML page?
OR
- Can i stop my application changing this GUID?