cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Braden Shepherdson <bra...@chromium.org>
Subject Re: Suggest we postpone converting to widget spec to 3.0?
Date Thu, 10 Jan 2013 18:14:39 GMT
The spec defines a version attribute on the <widget> tag. It wouldn't be
hard to include and parse that, though I think it would be pretty
heavyweight for an app to XHR the config.xml, parse the XML (shudder) and
grab that value, rather than encoding it in its own JS somewhere, but I
guess that's up to the app developer.

I'll assign that bug to myself and take a look at it later.


On Thu, Jan 10, 2013 at 1:03 PM, Filip Maj <fil@adobe.com> wrote:

> That's awesome Braden!
>
> The CLI tools tie the app name and package name to the config.xml. Would
> be good at add support for application version if possible. This would
> solve an outstanding JIRA Feature Ask that has been floating around for a
> while [1]. The app could just then XHR (or FileReader) for the contents of
> config.xml to determine what version of itself it is running.
>
> [1] https://issues.apache.org/jira/browse/CB-635
>
> On 1/10/13 7:00 AM, "Braden Shepherdson" <braden@chromium.org> wrote:
>
> >What do we still have that doesn't follow the spec? I think our current
> >config.xml, now that iOS is using it too, is pretty close to following the
> >spec.
> >
> >I'm actually working now on moving the start page to the <content
> >src="index.html" /> tag in the spec, that's finished on Android but not
> >pushed. Working on iOS today. This will allow plugins (especially our
> >Chrome app layer) to adjust the start page of the app when installed, and
> >also eliminate the main reason for editing native code in most
> >applications, at least once every platform supports this tag.
> >
> >
> >On Wed, Jan 9, 2013 at 8:17 PM, Joe Bowser <bowserj@gmail.com> wrote:
> >
> >> What if it takes more than a month to implement? We should probably
> >> defer for later, but at most I'd move it to 2.9.  (BTW: I don't think
> >> anyone in their right mind uses an x.9, since it's basically a major
> >> release minus the extra bug fixes and QA that a major gets in the last
> >> month.)
> >>
> >> Also, this has been mostly implemented but not tested on Android for a
> >> while, so I'm indifferent to when I do the QA on it. :P
> >>
> >> On Wed, Jan 9, 2013 at 4:50 PM, Shazron <shazron@gmail.com> wrote:
> >> > Mainly because we just did Cordova.plist to config.xml in 2.3.0 iOS,
> >>and
> >>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message