Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNScreenshotPreventModule$6.run (App Crash) #48

Open
rohitAtIG opened this issue Jul 24, 2024 · 1 comment
Open

RNScreenshotPreventModule$6.run (App Crash) #48

rohitAtIG opened this issue Jul 24, 2024 · 1 comment

Comments

@rohitAtIG
Copy link

The specified child already has a parent. You must call removeView() on the child's parent first.
(I am getting this error from firebase Crashlytics)

I recently updated React Native to 0.74.3,
"react-native-screenshot-prevent": "^1.1.9",

@TereshchenkoVlad
Copy link

TereshchenkoVlad commented Nov 14, 2024

Have the same problem.

 "react-native": "0.75.4",
 "react-native-screenshot-prevent": "^1.2.1",
import RNScreenshotPrevent from 'react-native-screenshot-prevent';

if (!__DEV__) {
  RNScreenshotPrevent.enabled(true);
  RNScreenshotPrevent.enableSecureView();
}
Screenshot 2024-11-14 at 10 04 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants