7 Jan 2013 4:49 AM #1
Unanswered: Sencha Touch iOS app rejected because of "Data Storage Guidelines"
The app in which i´m working has been rejected by apple with the following text:
We found that your app does not follow the iOS Data Storage Guidelines, which is required per the App Store Review Guidelines.
In particular, we found that on launch and/or content download, your app stores non-user generated data. To check how much data your app is storing:
- Install and launch your app
- Go to Settings > iCloud > Storage & Backup > Manage Storage
- If necessary, tap "Show all apps"
- Check your app's storage
The iOS Data Storage Guidelines indicate that only content that the user creates using your app, e.g., documents, new files, edits, etc., should be backed up by iCloud.
Temporary files used by your app should only be stored in the /tmp directory; please remember to delete the files stored in this location when the user exits the app.
Data that can be recreated but must persist for proper functioning of your app - or because customers expect it to be available for offline use - should be marked with the "do not back up" attribute. For NSURL objects, add the NSURLIsExcludedFromBackupKey attribute to prevent the corresponding file from being backed up. For CFURLRef objects, use the corresponding kCFURLIsExcludedFromBackupKey attribute.
I´m using sencha touch 2.1 (without phonegap). min os: 4.3.
8 Jan 2013 11:56 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
When it comes to Apple saying no to your app you can challenge it but it's not the easiest road and they are likely to stick to their guns on something like this. I think what they want is for you to retrieve the data at app startup into tmp dir so that it doesn't persist. This policy isn't the nicest as you have a very valid excuse to store data on the device but looks like they aren't wanting you to do so.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.