Hi all,
Thank you to you for your help.
Jean-Marc i will continue testing.
Jacque what you say is interesting, because it solves the problem of
upgrade with the launcher stack, but we need to test it.
Best
Boris
Upgrade App lost data
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 47
- Joined: Wed Dec 21, 2011 10:42 am
- Contact:
Re: Upgrade App lost data
My application "GeoMaths" is available on Itunes and Google Play !
-
- Posts: 45
- Joined: Mon Apr 21, 2014 10:41 am
- Contact:
Re: Upgrade App lost data
This may be a question for OSX, but as you mention it, on OS X, once the app is sandboxed, how do you write to the document folder silently without extra permission in the Mac App Store ?jmburnod wrote: For data I use the documents folder on OSX, windows and IOS for my app EcrireEnPictos (same stack for all)
Mitch
http://FontMenu.com
Re: Upgrade App lost data
Bonjour Michel,
The users can download the app
At the first open the app knows if data are installed, if not the case the app download a zip file from our server alternatic.ch.
It works and I never received bad notices from Apple about that.
I hope I'm clear with my poor english
Cordialement
Jean-Marc
EcrireEnPictos is not available on the AppleStore. I use a "Public Store" of a state education department for all versions OSX and IOS (windows coming soon)This may be a question for OSX, but as you mention it, on OS X, once the app is sandboxed, how do you write to the document folder silently without extra permission in the Mac App Store ?
The users can download the app
At the first open the app knows if data are installed, if not the case the app download a zip file from our server alternatic.ch.
It works and I never received bad notices from Apple about that.
I hope I'm clear with my poor english
Cordialement
Jean-Marc
https://alternatic.ch
-
- Posts: 45
- Joined: Mon Apr 21, 2014 10:41 am
- Contact:
Re: Upgrade App lost data
I understand better. So you do not have to go through the review process. I am surprised that you can distribute iOS apps out of iTunes, though...jmburnod wrote:EcrireEnPictos is not available on the AppleStore. I use a "Public Store" of a state education department for all versions OSX and IOS (windows coming soon)This may be a question for OSX, but as you mention it, on OS X, once the app is sandboxed, how do you write to the document folder silently without extra permission in the Mac App Store ?
The users can download the app
At the first open the app knows if data are installed, if not the case the app download a zip file from our server alternatic.ch.
It works and I never received bad notices from Apple about that.
I have several apps in the Mac OS Store and apps must be sandboxed there. Then writing to the documents folder is forbidden without a file save explicitly presented to the user. Apple reviewers would not let that pass anyway. The only place where files can be saved silently are temp and a folder within Application Support. I place preferences and data in a subfolder within the Application Support folder and do the same kind of checking on first run, then create the folder and file if necessary.
Here is what I do in iOS, based on my experience with Mac Apple Store apps and the review process.
I place the preferences and data files into a subfolder with the bundle of my app as name, within the Library folder :
Code: Select all
specialFolderPath("Library") & "/com.domain.myapp"
• library - The folder in which the application can store data of various types. In particular, data private to the application should be stored in a folder named with the app's bundle identifier inside library (this folder is backed up by iTunes on sync).
Mitch
http://FontMenu.com