react-native-screenshot-detector icon indicating copy to clipboard operation
react-native-screenshot-detector copied to clipboard

Function not response

Open joh8308 opened this issue 7 years ago • 4 comments

ScreenshotDetector.subscribe(() => { Alert.alert('Screenshot detected!'); });

There is no response.

react-native version 0.43

joh8308 avatar Dec 19 '17 07:12 joh8308

true ... unfortunately - callback is not invoked

vitto-moz avatar Jan 11 '18 17:01 vitto-moz

Are there any plans to fix this? The concept is great, but I don't see much use without the basic callback.

nandorojo avatar Jan 07 '19 21:01 nandorojo

Unfortunately I'm not working on this anymore, though if anyone wants to submit a PR I'd be happy to merge it.

gcarling avatar Mar 02 '19 02:03 gcarling

Okay got it. I assume there's no way to make a screenshot detector work with Expo without detaching, right? As in, could I make it with pure JS somehow?

nandorojo avatar Mar 02 '19 19:03 nandorojo