cordova-plugin-kiosk-launcher
cordova-plugin-kiosk-launcher copied to clipboard
How to install to IONIC 3
I want to disable the back, the home, the right button and if it is possible the button which closes the device. Someone in stackOverFlow recommend this plugin for me.
My problem is that I can't make it work. I tried to put:
- window["Kiosk"].isInKiosk((isInKiosk)=>{ this.imer = isInKiosk; }).catch(error=>this.imer = 'no');
- cordova.plugins.Kiosk.isInKiosk((isInKiosk)=>{ this.imer = isInKiosk; });
- declare let Kiosk:any and in constructor this: Kiosk.setKioskEnabled(true);
I think something I do wrong. How to install this in IONIC 3 from the beginning? Could you provide me all the details? Thank you in advance.
Is this still an issue?
Yes! I never found a way to install properly the plugin.