UNPKG

react-native-screenguard

Version:

A Native screenshot blocking library for React-Native developer, with background customizable after captured. Screenshot detector are also supported.

29 lines (28 loc) 656 B
declare const SCREENSHOT_EVT = 'onScreenShotCaptured'; declare const SCREEN_RECORDING_EVT = 'onScreenRecordingCaptured'; declare const BLACK_COLOR = '#000000'; declare const REGEX: RegExp; declare const IMAGE_REGEX: RegExp; declare const RADIUS_DEFAULT = 15; declare const TIME_DELAYED = 1000; declare const Alignment: { topLeft: number; topCenter: number; topRight: number; centerLeft: number; center: number; centerRight: number; bottomLeft: number; bottomCenter: number; bottomRight: number; }; export { SCREENSHOT_EVT, SCREEN_RECORDING_EVT, BLACK_COLOR, REGEX, IMAGE_REGEX, Alignment, RADIUS_DEFAULT, TIME_DELAYED, };