1.0.7 • Published 5 years ago

react-native-capture-callback v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
5 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

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago