Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to prevent ios from deleting application generated data file on ipa update.

$
0
0

Hi,
I have this problem: I have an app that when start download from internet a zip file and extract it in a folder like that:

System.IO.Path.Combine(System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), ".data");

But if I make an update to the app and reinstall it, I lost all this file and i get Null Exception. In iOS7 i never had this problem. There is some flag to add to this folder to prevent the ios delete the data?

Thanks a lot.
Marco


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>