react-native-expo-kiosk-mdm
v1.0.6
Published
Android Kiosk + MDM helper module for React Native. Provides kiosk mode, auto-start on boot, real-time geolocation, device info, APK install/update, and basic device-owner actions.
Downloads
635
Readme
react-native-expo-kiosk-mdm
Android Kiosk + MDM helper module for React Native.
Provides kiosk mode, auto-start on boot, real-time geolocation, device info, APK install/update, and basic device-owner actions.
✨ Features
- Enable / disable kiosk mode (immersive + lock task when device owner)
- Auto-start on boot (BootReceiver)
- Realtime geolocation via Fused Location Provider
- Device info (battery, RAM, storage, network, serial)
- Silent APK installation (device owner)
- Download + install updates
- Restart app, reboot device
- Works in bare React Native + Expo prebuild
📦 Install
npm install react-native-expo-kiosk-mdm
# or
yarn add react-native-expo-kiosk-mdm🔧 Manual Linking (if autolinking fails) settings.gradle
include ':react-native-expo-kiosk-mdm'
project(':react-native-expo-kiosk-mdm').projectDir =
new File(rootProject.projectDir, '../node_modules/react-native-expo-kiosk-mdm/android')android/app/build.gradle
implementation project(':react-native-expo-kiosk-mdm')
MainApplication
import com.kioskmdm.KioskMDMPackage
packages.add(KioskMDMPackage())🧭 Usage
import KioskMDM from 'react-native-expo-kiosk-mdm';
await KioskMDM.init({ deviceId: 'device-001' });
// kiosk mode
await KioskMDM.enableKioskMode();
// auto-start
await KioskMDM.enableAutoStartOnBoot();
// realtime location
KioskMDM.addListener('onLocation', loc => console.log('LOC:', loc));
await KioskMDM.startLocationUpdates({ intervalMs: 5000 });⚠️ Notes
Silent install, reboot, lock task require Device Owner mode.
Android only.
👤 Author
R Subrahmanyam Full-stack + native module developer. Contact: [email protected]
