From callback-dev-return-15468-apmail-incubator-callback-dev-archive=incubator.apache.org@incubator.apache.org Thu Oct 18 15:00:06 2012 Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A87ADD08 for ; Thu, 18 Oct 2012 15:00:06 +0000 (UTC) Received: (qmail 95479 invoked by uid 500); 18 Oct 2012 15:00:05 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 95326 invoked by uid 500); 18 Oct 2012 15:00:05 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 95283 invoked by uid 99); 18 Oct 2012 15:00:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 15:00:05 +0000 Date: Thu, 18 Oct 2012 15:00:05 +0000 (UTC) From: "Michal Mocny (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1916951140.64191.1350572405301.JavaMail.jiratomcat@arcas> In-Reply-To: <1366720032.147128.1349075708437.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CB-1561) Using Storage API - rejected by Apple MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479055#comment-13479055 ] Michal Mocny commented on CB-1561: ---------------------------------- Samuel, This bug is specifically filed requesting to NOT backup localstorage/websql files to iCloud (or rather the local backups). == As an aside == There *is* a new ios6 feature to request localstorage backup to iCloud, which was "incorrectly" enabled in cordova 2.1, which I've changed back to disabled for 2.2. If some app developers like you really do want to backup to iCloud, then I can add a setting for it, but to be clear that would only work for ios6 anyway. More importantly, I am not sure that syncing these files will release achieve what you expect. We had a discussion on the cordova mailing list if it made sense to backup these files to iCloud, and the answer was no -- but there was not really much debate or data here, and perhaps we should revisit the issue. What are your specific reasons for wanting this, so that we can consider them? > Using Storage API - rejected by Apple > ------------------------------------- > > Key: CB-1561 > URL: https://issues.apache.org/jira/browse/CB-1561 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.0.0, 2.1.0, 2.2.0 > Environment: - Cordova 2.0 on iOS > Reporter: Clemens Wyss > Assignee: Michal Mocny > Priority: Blocker > Fix For: 2.2.0 > > Attachments: CDVLocalStorage.m.diff, disable_icloud_backup.diff > > > our App uses the Sotrage-API to store data which is being loaded upon first launch. > The app is rejected given the following reasoning: > 'Your app does not follow the iOS Data Storage Guidelines, as required by the App Store Review Guidelines. > Please be sure to set the "Do not back up" attribute for all data which is not generated or modified by the user. To check how much data your app is storing: > - Install and launch your app > - Go to Settings > iCloud > Storage and Backup > Manage Storage > - If necessary, select "Show all apps" > - Check your app's storage > The iOS Data Storage Guidelines indicate that only content that the user creates using your app, (documents, new files, edits, etc.) may be stored in the /Documents directory - and backed up to 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 appended 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. > For more information, please see Technical Q&A 1719: How do I prevent files from being backed up to iCloud and iTunes?. > Please revise your app so that it adheres to the iOS Data Storage Guidelines.' > Is there a possibility to set this flag for the WebSQL Database file(s)? > At least for us this is a blocker ... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira