Disable Screen Capture/ScreenShot in React Native App
问题 I have came across few solutions specific for ios and Android to prevent screen-capturing and taking screenshots. But how do i disable screen-capturing in react native? 回答1: In android /android/app/src/main/java/com/{Project_Name}/MainActivity.java write some Import Statements import android.os.Bundle; import android.view.WindowManager; Prevent capture screen by setFlag secure use below code inside the MainActivity class @Override protected void onCreate(Bundle savedInstanceState) { super