cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens Wyss DEV <>
Subject AW: AW: App using WebSQL - rejected
Date Mon, 01 Oct 2012 13:42:03 GMT
I added/set
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 ;)

-----Ursprüngliche Nachricht-----
Von: Clemens Wyss DEV [] 
Gesendet: Montag, 1. Oktober 2012 15:22
Betreff: AW: AW: App using WebSQL - rejected

Find attached (if it gets through ;) ) the files on the phone.
I have WebSql Files in
and (later on)
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 ) did not succeed. I
cannot access any file:
setFileMetadata(LocalFileSystem.PERSISTENT, "Library/Caches/file__0/0000000000000001.db'",
"", 1)

-----Ursprüngliche Nachricht-----
Von: Clemens Wyss DEV []
Gesendet: Montag, 1. Oktober 2012 10:46
Betreff: AW: AW: App using WebSQL - rejected

What does the WebSQL file name depend on? Hopefully not iOS version dependant?

-----Ursprüngliche Nachricht-----
Von: Kerri Shotts []
Gesendet: Montag, 1. Oktober 2012 09:34
Betreff: Re: AW: App using WebSQL - rejected

Do a browse of your iPhone using Iexplorer or the like -- you can find the appropriate file
name that way.

Kerri Shotts
photoKandy Studios LLC

Sent from my iPhone

📱 Phone: +1 (312) 380-1035
🌐 Web:

Twitter: @photokandy

On Oct 1, 2012, at 1:49, Filip Maj <> wrote:

> Not sure on iOS specifics, but I would file an issue.
> 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 
>> rage
>> -----Ursprüngliche Nachricht-----
>> Von: Filip Maj []
>> Gesendet: Montag, 1. Oktober 2012 08:33
>> An:
>> Betreff: Re: App using WebSQL - rejected
>> See: 
>> 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
>>> looks 
>>> rather generic and requires the exact location of the URL/file to be 
>>> excluded ...
>>> Thx
>>> Clemens
View raw message