1.0.7 • Published 4 years ago

react-native-capture-callback v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

react-native-capture-callback

Getting started

only ios

$ npm install react-native-capture-callback --save

$ pod install

Usage

import RNCaptureCallback from 'react-native-capture-callback';

// TODO: What to do with the module?
useEffect(() => {
    const subscription = DeviceEventEmitter.addListener('ScreenshotObserver', (data) => {
      console.log(data);
    });
    RNCaptureCallback.addObserverScreenshot();
    return () => {
      subscription.remove();
    };
  }, []);
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago