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

handing screenshot data

Open zoi-aoba opened this issue 8 years ago • 4 comments

Can I handle the screenshot data?

zoi-aoba avatar Jun 26 '17 13:06 zoi-aoba

No, at the moment this is set up just to let you know that a screenshot has been taken. It may be possible to do this - if you think you have found a way, feel free to open up a pull request and I'll look it over.

gcarling avatar Jun 26 '17 18:06 gcarling

Thanks for your response. I will try to find the way :) And if I could, submit PR!

zoi-aoba avatar Jun 26 '17 23:06 zoi-aoba

@goleador0322 you could combine this with https://github.com/gre/react-native-view-shot to programmatically capture the screenshot data yourself when the ScreenshotDetector.subscribe callback event fires

EricPKerr avatar Jan 20 '18 21:01 EricPKerr

@EricPKerr thanks :) I will try.

zoi-aoba avatar Jan 23 '18 11:01 zoi-aoba