Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
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
-
@dirk
ons.ready
function already waits fordeviceready
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.