+1 On Monday, May 7, 2012, Shazron wrote:
> That sounds great, so the exec call (pseudocode example here) could go > something like this: > > var metadata = { 'icloud_backup' : true }; > cordova.exec(success, fail, "File", "setMetadata", [metadata]); > > > On Mon, May 7, 2012 at 7:58 PM, Simon MacDonald > <simon.macdon...@gmail.com <javascript:;>> wrote: > > I'd go with setMetadata(Object). Let the native side interrogate the > object > > to see what metadata needs to be set. > > > > Simon > > > > On Monday, May 7, 2012, Filip Maj wrote: > > > >> getMetadata exists, so setMetadata makes sense. W3C has no equivalent, > our > >> users need it, I say do it. > >> > >> On 5/7/12 5:24 PM, "Shazron" <shaz...@gmail.com > >> <javascript:;><javascript:;>> wrote: > >> > >> >I don't know if we can extend the File API (I know it's W3C) or have > >> >an iOS specific function -- but iOS is in sore need of this > >> >functionality because of app rejection (re: iCloud requirements): > >> >https://issues.apache.org/jira/browse/CB-471 > >> > > >> >I'm thinking a FileEntry.setExtendedAttribute or FileEntry.setMetadata > >> >function or something. Thoughts? > >> > >> > > > > -- > > Simon Mac Donald > > http://hi.im/simonmacdonald > -- Simon Mac Donald http://hi.im/simonmacdonald