A Flutter plugin to enable, disable, and check Kiosk Mode on Android devices. Kiosk Mode restricts the user to a single app, preventing them from accessing other apps or settings on the device.
- Start Kiosk Mode
- Stop Kiosk Mode
- Check if the device is in Kiosk Mode
Add the following dependency to your pubspec.yaml
file:
dependencies:
kiosk: ^0.0.1
Start Kiosk Mode
Kiosk.instance.startKioskMode();
Stop Kiosk Mode
Kiosk.instance.stopKioskMode();
Check if the device is in Kiosk Mode
Kiosk.instance.isInKioskMode();