react-native-expo-kiosk
v1.1.5
Published
`react-native-expo-kiosk` native module with added MDM/kiosk helper functions: - Kiosk enable/disable, lock task - Device info module (permissions-aware) - Auto-update helper (download + install) - BootReceiver toggleable (disabled by default) - LauncherA
Readme
react-native-expo-kiosk
react-native-expo-kiosk native module with added MDM/kiosk helper functions:
- Kiosk enable/disable, lock task
- Device info module (permissions-aware)
- Auto-update helper (download + install)
- BootReceiver toggleable (disabled by default)
- LauncherActivity to act as a HOME candidate (user must choose)
- expandStatusBar() to open quick settings (best-effort)
- JS wrapper: js/index.js and types
How to use
- Copy this package into your React Native project's
packages/or import it locally. - Rebuild a dev client / run a full Android build (
expo prebuild+expo run:androidoreas build). - Do not use Expo Go — native modules require a custom client or bare build.
Files included
- android/... Kotlin source files (KioskModule, DeviceInfoModule, AutoUpdateModule, BootReceiver, KioskService, KioskPackage, etc.)
- js/index.js, js/index.d.ts
- RootLayout.js example
- AndroidManifest.xml snippet and provider_paths.xml
Notes
- Some features (IMEI, serial, MAC) are restricted on Android 10+. Use device owner or system app for privileged info.
adb shell dpm set-device-owner "com.reactnativeexpokiosk/.DeviceAdminReceiver"
- Prompt user to set the app as default launcher with
promptSetDefaultLauncher()from JS.
