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 63C5ED1B3 for ; Mon, 1 Oct 2012 13:46:32 +0000 (UTC) Received: (qmail 57211 invoked by uid 500); 1 Oct 2012 13:46:32 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 57185 invoked by uid 500); 1 Oct 2012 13:46:32 -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 57175 invoked by uid 99); 1 Oct 2012 13:46:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 13:46:32 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mmocny@google.com designates 209.85.220.47 as permitted sender) Received: from [209.85.220.47] (HELO mail-pa0-f47.google.com) (209.85.220.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 13:46:27 +0000 Received: by padfa11 with SMTP id fa11so4276105pad.6 for ; Mon, 01 Oct 2012 06:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-system-of-record; bh=cP+9yrvyij/41W4bmRny+89246mMTJdHSMdkFQ54HlQ=; b=FwqDSAI+7focYIS+CwPxtxO2Bgw3rQ2sSkZ9Qygl0Wy404ES0Smc6gIf/1Wus8t6lX 5MQVMWPK55jOwq/hj8yUp3wrNjg/wo2Jp20wxzjxtXcJNhRRptQraY6meUkbZrnwwBYj MQBIOLTTCf9Do9Na1i0orNT940Fna3SDUnqgqFrYzjP/m/2bcOzRH85m16H6dip6PicJ YE5jrTMHVBrCZJYzM2+YaeLLOsT3ZHb8f8crT8ZTRFEekrkR/B0JZETFv7bDyc7igDHY QMcy25Itg3VIahrT6WPswvggiu6c1e8OT4erVMmMIr1pW25tagd3GwJgsDudT912Jqmk 06rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-system-of-record:x-gm-message-state; bh=cP+9yrvyij/41W4bmRny+89246mMTJdHSMdkFQ54HlQ=; b=pMEwGmoPd6zuuzJvHslKKrEQ0KppgB0OvnpISFNsHLdTxeCdpikOJiM+1xXVIdhQY1 +gRyHFfufKCE85lH134O57bonUtnK+1TTX++2wkId0gg6ksmLkdjD9tsYhjFbUluk/U4 RTgGIM/X86N1ByxiIAx1neQT1Ocp9scJKdEbDDT3QUlk4oi3wM88WOhAbkZFedUmTb6Q Uh0T9wD9/3m20zGEUu9QeScO2RuHIM0/ATCfYLr0+LzAG1CSyvgVRGKMBbJ1MhkbjzfK NDbpmy5lnpD5A+lQsg/EX3zG4l4Naueq0m8O20wi7gz8ayAwXN/Dlv4m3mgx7fDGSxRS EAXw== Received: by 10.68.222.37 with SMTP id qj5mr40722295pbc.132.1349099167735; Mon, 01 Oct 2012 06:46:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.222.37 with SMTP id qj5mr40722268pbc.132.1349099167529; Mon, 01 Oct 2012 06:46:07 -0700 (PDT) Sender: mmocny@google.com Received: by 10.68.32.9 with HTTP; Mon, 1 Oct 2012 06:46:07 -0700 (PDT) In-Reply-To: References: <2408030145187145929@unknownmsgid> Date: Mon, 1 Oct 2012 09:46:07 -0400 X-Google-Sender-Auth: F9ZlW7jWFLw30bhWDhphLhudJ_8 Message-ID: Subject: Re: AW: App using WebSQL - rejected From: Michal Mocny To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b2ee5a1a5b94c04caffa0f5 X-System-Of-Record: true X-Gm-Message-State: ALoCoQkhqof5gAbdPAe/7Vcr6UofepG/ZvzbHNYrVFuTE3RzhnIOv64I0VBZz4DWcNs1jzL/zdRzvqJsWyfOsmmoy1EaRW8+NEkme9YzS9wgAMc5uUdQDuIIEL0ZS6SXzdFw2TgNY0+Ye1O2BL4kverDHwLORaHIont+av2Mpg9/Px4MtXJD1NlfRkc92EM5utTd53CZL5UdrdxIbbzxHjliG4O2NMUbQA== X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2ee5a1a5b94c04caffa0f5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think that if you do that, local/web storage will be stored in a cache folder and may not persist across app restarts (not sure how frequently those are cleared). Is this what you expect? On Mon, Oct 1, 2012 at 9:42 AM, Clemens Wyss DEV wrot= e: > I added/set > ... > BackupWebStorage > > ... > In my Cordova.plist and now I am no more seeing the > Documents/Backup-folder, which is what Apple "is looking for". Right? If > so, regard this "issue" as closed ;) > > Thx > Clemens > -----Urspr=C3=BCngliche Nachricht----- > Von: Clemens Wyss DEV [mailto:clemensdev@mysign.ch] > Gesendet: Montag, 1. Oktober 2012 15:22 > An: callback-dev@incubator.apache.org > Betreff: AW: AW: App using WebSQL - rejected > > Find attached (if it gets through ;) ) the files on the phone. > I have WebSql Files in > Library/Caches > and (later on) > Documents/Backup > Which ones are to be flagged? I guess the Cache-files? > Can I flag the /Library/Caches-folder or do I need to flag each and every > file? > > Initial tests getting hold of any of the files (making use of > example-function setFileMetadata > http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileEntry ) > did not succeed. I cannot access any file: > e.g. > setFileMetadata(LocalFileSystem.PERSISTENT, > "Library/Caches/file__0/0000000000000001.db'", "com.apple.MobileBackup", = 1) > > -----Urspr=C3=BCngliche Nachricht----- > Von: Clemens Wyss DEV [mailto:clemensdev@mysign.ch] > Gesendet: Montag, 1. Oktober 2012 10:46 > An: callback-dev@incubator.apache.org > Betreff: AW: AW: App using WebSQL - rejected > > What does the WebSQL file name depend on? Hopefully not iOS version > dependant? > > -----Urspr=C3=BCngliche Nachricht----- > Von: Kerri Shotts [mailto:kerrishotts@gmail.com] > Gesendet: Montag, 1. Oktober 2012 09:34 > An: callback-dev@incubator.apache.org > Betreff: Re: AW: App using WebSQL - rejected > > Do a browse of your iPhone using Iexplorer or the like -- you can find th= e > appropriate file name that way. > > ______________________________ > Kerri Shotts > photoKandy Studios LLC > > Sent from my iPhone > > =F0=9F=93=B1 Phone: +1 (312) 380-1035 > =F0=9F=8C=90 Web: http://photokandy.com > > Twitter: @photokandy > > On Oct 1, 2012, at 1:49, Filip Maj wrote: > > > Not sure on iOS specifics, but I would file an issue. > > > > http://issues.cordova.io > > > > On 9/30/12 11:46 PM, "Clemens Wyss DEV" wrote: > > > >> Well the problem is I have no file "per se", but am using Storage API > >> http://docs.phonegap.com/en/2.1.0/cordova_storage_storage.md.html#Sto > >> rage > >> > >> > >> -----Urspr=C3=BCngliche Nachricht----- > >> Von: Filip Maj [mailto:fil@adobe.com] > >> Gesendet: Montag, 1. Oktober 2012 08:33 > >> An: callback-dev@incubator.apache.org > >> Betreff: Re: App using WebSQL - rejected > >> > >> See: > >> http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileEntry > >> > >> Scroll down to the "setMetadata" function. This method is only > >> supported on iOS at this time exactly for this situation. > >> > >> On 9/30/12 11:16 PM, "Clemens Wyss DEV" wrote: > >> > >>> Our app, which makes use of WebSQL, was rejected by Apple: > >>> '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.' > >>> and > >>> 'The data can be stored, it just shouldn't be backed up to iCloud. > >>> Make sure all files are tagged with the "do not back up attribute".' > >>> > >>> How can I exclude the WebSQL-file(s) from being backuped? The > >>> addSkipBackupAttributeToItemAtURL-method > >>> https://developer.apple.com/library/ios/#qa/qa1719/_index.html looks > >>> rather generic and requires the exact location of the URL/file to be > >>> excluded ... > >>> > >>> Thx > >>> Clemens > > > --047d7b2ee5a1a5b94c04caffa0f5--