kiosk_mode
0.10.0, released 5 weeks ago by mews.com
Plugin for working with Lock Task and Guided Access modes on Android and iOS.
What it does
Provides helper methods to check, start, stop, and stream changes to device kiosk modes such as Lock Task mode on Android and Guided Access mode on iOS.
AI-written summary of version 0.10.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a single-purpose kiosk or point-of-sale application
- You need to restrict users to a single application or a restricted set of applications
Skip it when
- You do not need system-level app pinning or lock down
Strengths
- Supports both Android and iOS platform restrictions
- Provides a stream to monitor kiosk mode state changes
Weaknesses
- Android requires polling with a configurable interval to watch mode changes because the platform does not provide a direct subscription
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires platform configuration for Lock Task / Guided Access as detailed in native documentation.
final mode = await getKioskMode();
watchKioskMode().listen((mode) => print(mode));
await startKioskMode();
await stopKioskMode();Alternatives
Packages that do the same job and could replace kiosk_mode.
- jni_flutter
Access Flutter Android APIs from Dart.
87Compare - shizuku_api
Flutter plugin to run shell commands via Shizuku without root
69Compare - flutter_wallpaper_manager
Plugin to set wallpaper on Android devices
35Compare
Works with
Packages commonly used together with kiosk_mode: ones it builds on, ones built on it, and its own family.