YES
= Recording / NO
= Not recordingimport { NativeModules } from 'react-native';
const ScreenRecorderDetect = NativeModules.ScreenRecorderDetect;
checkIfRecord() {
try {
ScreenRecorderDetect.get().then(isRecord => { this.setState({ screen: isRecord}) });
} catch (e) {
console.error(e);
}
}
Import ScreenRecorder.h && ScreenRecorder.m in ios/ or just create them with Xcode and copy / paste