cordova-plugin-kiosk-launcher icon indicating copy to clipboard operation
cordova-plugin-kiosk-launcher copied to clipboard

How to install to IONIC 3

Open webspecialist opened this issue 5 years ago • 2 comments

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:

  1. window["Kiosk"].isInKiosk((isInKiosk)=>{ this.imer = isInKiosk; }).catch(error=>this.imer = 'no');
  2. cordova.plugins.Kiosk.isInKiosk((isInKiosk)=>{ this.imer = isInKiosk; });
  3. 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.

webspecialist avatar Aug 30 '19 06:08 webspecialist

Is this still an issue?

guatedude2 avatar Mar 12 '21 17:03 guatedude2

Yes! I never found a way to install properly the plugin.

webspecialist avatar Mar 13 '21 08:03 webspecialist