Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 441 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 441 Bytes

react-native-pin-screen

A pin-screen like functionality for react-native (Android only).

Usage

import RNPinScreen from 'react-native-pin-screen';

// no lockscreen anymore - screen go off as usual (button press, idle mode)
RNPinScreen.pin()

// lockscreen comes back - if the device was previously idle, lock screen popup immediately
RNPinScreen.unpin()