reactjs devicereacy cordova



  • Hello,

    Do i have to implement the deviceready event myself when starting up the app in cordova, or is onsenui(react) taking care of that, meaning it will wait until the device ready is available before loading the app.

    additional, how can I access a plugin from this app, is it the normal phonegap way?

    thanks
    Dirk


  • Onsen UI

    @dirk ons.ready function already waits for deviceready event in webview. You can pass it a callback if you want to do anything specific.

    Onsen UI should not affect PhoneGap/ Cordova plugins so yes, the normal way I guess.


Log in to reply