Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    9
    Vote Rating
    1
    Amaya is on a distinguished road

      1  

    Default Unanswered: Sencha Touch iOS app rejected because of "Data Storage Guidelines"

    Unanswered: Sencha Touch iOS app rejected because of "Data Storage Guidelines"


    The app in wich i´m working has been rejected 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 am only saving data in localStorage (via Sencha API) for offline viewing of some content. Can it be the problem? How can i solve it? Is there other files that a native sencha app saves that can cause the issue?

    I am using sencha touch 2.1 (without phonegap). min os: 4,3.

  2. #2
    Sencha User
    Join Date
    Dec 2012
    Posts
    77
    Answers
    6
    Vote Rating
    1
    azamatoak is on a distinguished road

      0  

    Default Maybe iCloud is enabled

    Maybe iCloud is enabled


    Sounds to me like these are all related to iCloud. Is the iCloud enabled for the App ID that you are submitting to Apple (check this in the provisioning portal). It could be because you have that enabled. Unless you need to use iCloud I would leave it disabled for any app that I submit to Apple.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    9
    Vote Rating
    1
    Amaya is on a distinguished road

      0  

    Default


    Thanks azamatoak, but the app is not registered to use iCloud.

    The problem seems Ext.data.proxy.LocalStorage writes his data into an area in the IOS file-sytem, who will be part of a IOS device backup. But we must store the data to a more volatile storage who may be deleted e.g. when restarting the device, but not if the app has been terminated.

    Question is, where to store the data to be cached.

    Does anybody have some experience how to solve this?

  4. #4
    Ext JS Premium Member
    Join Date
    Apr 2010
    Location
    Omaha, NE
    Posts
    544
    Answers
    6
    Vote Rating
    18
    estesbubba will become famous soon enough

      0  

    Default


    I use LocalStorage and don't have this problem but using PhoneGap. A few weeks ago I thought I read that PhoneGap somehow changes where LocalStorage is written in iOS. I'm not positive but you might want to research this.

  5. #5
    Sencha User
    Join Date
    Jul 2012
    Posts
    9
    Vote Rating
    1
    Amaya is on a distinguished road

      0  

    Default


    I checked that in iOS 6 localstorage is in Library/Caches folder, but i found it also in Documents, with the same size but hidden! Does anyone know why?

  6. #6
    Sencha User
    Join Date
    Dec 2007
    Posts
    16
    Vote Rating
    0
    kisscool82 is on a distinguished road

      0  

    Default


    Hi,

    I received the same kind of message from apple :

    Code:
    We also 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 3+ mb of data. To check how much data your app is storing:
    
    - Install and launch your app
    - Navigate around the 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 need to store data with Ext.data.proxy.LocalStorage. I use Cordova to.
    I don't understand how to prevent some files from being backed up.
    Can somebody help me please ?

  7. #7
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    497
    Answers
    25
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      1  

    Default


    You must write to the correct directories on iOS. The key is, is what you're writing user generated, or just an offline cache? If the latter, you must not store in iCloud as iOS would like to delete the cached data if it runs out of space; but of course it doesn't want to ever delete user generated content.

    I believe that localstorage is saved to iCloud by iOS. I'm sure I've seen a way around this to get it cached instead, but the problem won't go away that you might want some data in iCloud and some cached. I think this has something to do with the

    Localstorage is not a good idea in these hybrid apps anyway. Phonegap only writes to localstorage when the app is exited or switched out. This is obviously bad as it can expose your users to data loss on a crash.

    I don't have time for a longer post right now. But I think the correct thing to do is to read Apple's data storage guidelines thoroughly (https://developer.apple.com/icloud/d.../data-storage/), then read phonegap's file system guidelines also thoroughly, and use this instead. No reason why you can't just write JSON to a file and have a getter/setter on that object in your code which writes through on each set and reads from the file system when your app is opened.
    I blog about Sencha Touch at www.senchatouchdev.com

  8. #8
    Sencha User
    Join Date
    Dec 2007
    Posts
    16
    Vote Rating
    0
    kisscool82 is on a distinguished road

      0  

    Default


    Do you mean I shouldn't use localstorage in my app ?

    I've tried the setMetaData method from cordova on Backups/sqlite.db like explain in cordova's doc : http://cordova.apache.org/docs/en/2....html#FileEntry

    Apple has reject my app again.

    I'm about to try to setMetaData of the entire Backups directory like explain here : http://stackoverflow.com/a/11237954
    but I'm not sure it's a good solution.

    How can I see the content of the 3Mb in an Apple device ?
    Stores and LocalStorages are in the Backups dir ?

    Thx for your advices

  9. #9
    Sencha User
    Join Date
    Feb 2013
    Location
    Currently in USA
    Posts
    27
    Vote Rating
    0
    pawanchowdary is on a distinguished road

      0  

    Default Same problem

    Same problem


    I also got same problem now,
    Apple rejected my app with same reason
    We found that your app does not follow the iOS Data Storage Guidelines, which is required per the App Store Review Guidelines.

    Pavan
    -Pavan