cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: cordova API doc queries
Date Wed, 22 May 2013 19:47:41 GMT
Re: docs bug
I don't think the connection docs need to be changed, it works with
deviceready. It's only for the offline/online events - which is quirky.
Granted the solution is a workaround for now.


On Wed, May 22, 2013 at 12:24 PM, Ray Camden <raycamde@adobe.com> wrote:

> Hmmm. Ok. I don't know. If I were telling someone how to handle this in
> their app, I think I'd stick with the simpler plan of using event
> listeners in onDeviceReady and adding a check immediately as well. That
> seems cleaner than having both an onLoad and onDeviceReady.
>
> I'm confused though why the docs bug is marked fixed. The connection docs
> still use onDeviceReady.
>
>
> On 5/22/13 11:24 AM, "Shazron" <shazron@gmail.com> wrote:
>
> >It should - what you are seeing is probably related to this issue:
> >https://issues.apache.org/jira/browse/CB-2096
> >
> >
> >On Tue, May 21, 2013 at 2:52 PM, Ray Camden <raycamde@adobe.com> wrote:
> >
> >> Are you sure? I built a demo a while ago to show connection handling,
> >>and
> >> I had to check during start up as well as use events. I just tested with
> >> PhoneGap 2.6 and Ripple, and on Chrome, it did *not* fire an event
> >>handler
> >> for network change when the app started.
> >>
> >>
> >>
> >>
>
>

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