incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron Abdullah <shaz...@gmail.com>
Subject Re: File API extension
Date Tue, 08 May 2012 17:17:50 GMT
this was pseudocode :) I like not mapping names - will be SO much
easier definitely, we can leave it up to the user, but this will open
up more than the iCloud attribute to be set, but if they want to play
with fire...

On 2012-05-08, at 10:13 AM, Patrick Mueller <pmuellr@gmail.com> wrote:

> On Mon, May 7, 2012 at 11:07 PM, Shazron <shazron@gmail.com> wrote:
>
>> Oops, more like:
>>
>> var metadata = { 'icloud_backup' : true };
>> cordova.exec(success, fail, "File", "setMetadata", [this.fullPath,
>> metadata]);
>>
>
> generally +1.  Only quibble is with the metadata property name.  The actual
> name to use on iOS is "com.apple.MobileBackup".  I wonder if we should
> actually use that, instead of your suggested name.  It's not like Apple has
> changed their "cloud" name 4 times or so over the years :-)  Seems a little
> more obvious than having to map the name back and forth, and if ever have
> to add more of these ...
>
> --
> Patrick Mueller
> http://muellerware.org

Mime
View raw message