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" <[email protected]> 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 <[email protected]> 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.
>>
>>
>>
>>

Reply via email to