react-native-screenshot-prevent
Version:
This fork contains fully working blank screenshot on IOS13+ including screen recording
8 lines • 361 B
TypeScript
declare module 'react-native-screenshot-prevent' {
export function enabled(value: boolean): void
export function enableSecureView(imagePath?: string): void;
export function disableSecureView(): void;
export function usePreventScreenshot(): void;
export function useDisableSecureView(): void;
export function addListener(fn: Function): void;
}