My understanding as well. Before deviceready, read the config.xml and
populate some variables. We're talking about the application metadata, not
the device's information.

On Tue, May 8, 2012 at 1:40 PM, Shazron Abdullah <[email protected]> wrote:

> This was my understanding as well.
>
> On 2012-05-08, at 10:39 AM, Simon MacDonald <[email protected]>
> wrote:
>
> > On Tue, May 8, 2012 at 1:23 PM, Patrick Mueller <[email protected]>
> wrote:
> >
> >>
> >> To clarify a bit, what I was wondering if it was cheap enough to get
> this
> >> info during startup and stash it away somewhere in JS, so it'd be
> available
> >> at deviceready.
> >>
> >
> > This is what I was thinking as well. We'd go get the info an populate the
> > JS object then fire "deviceready". We already use the same approach when
> > setting up Device and Network.
> >
> > Simon Mac Donald
> > http://hi.im/simonmacdonald
>

Reply via email to