sciphergfx / react-native-kiosk-mode

A simple react native plugin to achieve kiosk mode (immersive mode) on android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error KioskMode.autoKioskMode is undefined

janakact opened this issue · comments

I followed the guideline in the Redme. When I include the <Immersive /> component, I get following error.
Error KioskMode.autoKioskMode is undefined. What could be the reason?

Hi janakact,

Please note that this module works on android only. And I've been unable to re-create this error,
Have you tried doing this?

import { Platform } from 'react-native'

{Platform.OS !== 'ios' && <Immersive />}

I get the same error that @janakact using Android

I'll look into this now. Thanks Guys