How to use Cordova plugins for compiled apps?
Posted: Wed Aug 29, 2018 3:25 am
Hello all!
Now I build a kiosk app to android devices, I want to hide navbar (statusbar hided succesfully with config.xml preference).
I add this plugin now to config.xml, but I dont know how can i activate it:
https://www.npmjs.com/package/cordova-plugin-fullscreen
Where should I paste the code like this:
AndroidFullScreen.immersiveMode(successFunction, errorFunction);
I also try to find solution for the screen no sleep. Can anyone write me a good solution for this?
Thanks!
Peter
Now I build a kiosk app to android devices, I want to hide navbar (statusbar hided succesfully with config.xml preference).
I add this plugin now to config.xml, but I dont know how can i activate it:
https://www.npmjs.com/package/cordova-plugin-fullscreen
Where should I paste the code like this:
AndroidFullScreen.immersiveMode(successFunction, errorFunction);
I also try to find solution for the screen no sleep. Can anyone write me a good solution for this?
Thanks!
Peter