react-native-detect-new-photo

Detect new photo

Usage no npm install needed!

<script type="module">
  import reactNativeDetectNewPhoto from 'https://cdn.skypack.dev/react-native-detect-new-photo';
</script>

README

React Native Detect New Photo

A new camera roll photo detector

Installation

npm install francisco-sanchez-molina/react-native-detect-new-photo --save
react-native link react-native-detect-new-photo

Usage

import ReactNativeDetectNewPhoto from 'react-native-detect-new-photo'

....
ReactNativeDetectNewPhoto.init()
ReactNativeDetectNewPhoto.registerCallback(_ => console.log('new photo detected!'))

0.1.0 support react-native 0.40