I'm trying to use this plugin to set the running app in both kiosk mode and launcher mode.
But is not clear which is the best way to do this.
Let's assume a brand new app that must be set (always) in kiosk+launcher.
I'm currently checking if isInKiosk and isSetAsLauncher both returns true on every onDeviceReady and onResume.
If one of the two doesn't return true, i'm calling exitKiosk, is this enough?
I'm trying to use this plugin to set the running app in both kiosk mode and launcher mode.
But is not clear which is the best way to do this. Let's assume a brand new app that must be set (always) in kiosk+launcher. I'm currently checking if
isInKiosk
andisSetAsLauncher
both returns true on everyonDeviceReady
andonResume
.If one of the two doesn't return true, i'm calling
exitKiosk
, is this enough?