I am using the code below to save a unique id in the app's storage. But very often this saved information get lost after an app update. Only iOS seems to be affected. The code below is not processed again after an app update. So it is not just overwritten then. I checked that. 😉
Any idea what may cause this problem?
f = File.applicationStorageDirectory.resolvePath("fileforsaving.txt");
fs = new FileStream();
data2 = "KEYjustFORdemonstration";
I would prefer to replace it with an ANE, especially to outsource later local folder permisson changes like in Android Q. Any suggestions about a reliable working ANE? I prefer distriqt but it seems they do not offer one.