$ npm install react-native-screen-capture-secure --save
$ react-native link react-native-screen-capture-secure
import ScreenCaptureSecure from 'react-native-screen-capture-secure';
ScreenCaptureSecure.enableSecure();
ScreenCaptureSecure.disableSecure();