HI,
The simple code below tells you if a file exists, then creates it, then tells you if it exists.
If you put it in an app, run it under DS , then delete the app, then recreate the app and run it again
it shows that the file is not deleted when the app is deleted.
Further if you put the code in an app with a different name then the file still exists.
So it looks like (at least running under DS) it doesn't have one GetPrivateFolder per app/project,
but all your app/projects use the same one.
Scoped Storage should clean up when an app is deleted, so presumably each built app has their own PrivateFolder
(and not share it between everything with the same packagename).
Regards, ah
function OnStart() {
gp = app.GetPrivateFolder("test") + "/test.txt"
alert(app.FileExists(gp))
app.WriteFile(gp,"hi","Append")
alert(app.FileExists(gp))
}