M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Device ready

I can see that Cordova APIs need the device ready event to fire before making any call to Cordova API. Say I have a 2 page application. On the first page I wait for device ready event, and then navigate to Page 2. Now in the Page 2 "Show" event can I make Cordova API calls?

What I mean is that the device ready event has fired once for the starting page - do the subsequent pages also need to wait for device ready event before making calls to Cordova APIs?

I have read the documentation here https://cordova.apache.org/docs/en/4.... but it does not answer my question.

Thanks,
M&M

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Device ready

Hello M&M,

You should use page show event for the second page without calling device ready event secondly.

Return to “Issues”