Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install to IONIC 3 #5

Open
webspecialist opened this issue Aug 30, 2019 · 2 comments
Open

How to install to IONIC 3 #5

webspecialist opened this issue Aug 30, 2019 · 2 comments

Comments

@webspecialist
Copy link

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.

@guatedude2
Copy link
Owner

Is this still an issue?

@webspecialist
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants