react-native-kiosk-manager
Version:
A React Native module for Android Kiosk mode, auto start on boot, and lock task management.
15 lines (14 loc) • 464 B
JavaScript
;
const notSupported = () => Promise.reject(new Error('KioskManager is only supported on Android'));
const KioskManager = {
startKiosk: () => {},
stopKiosk: () => {},
enableBootAutoStart: () => {},
isBootAutoStartEnabled: notSupported,
setupLockTaskPackage: notSupported,
requestDeviceAdmin: notSupported,
clearDeviceOwner: notSupported,
isDeviceOwner: notSupported
};
export default KioskManager;
//# sourceMappingURL=index.ios.js.map