react-native-cidscan

React Native CaptureID Plugin

Usage no npm install needed!

<script type="module">
  import reactNativeCidscan from 'https://cdn.skypack.dev/react-native-cidscan';
</script>

README

react-native-cidscan

React Native CaptureID Plugin

Installation

from within your app folder run

npm install react-native-cidscan
cd ios && pod install && cd ..

Usage

import Cidscan from "react-native-cidscan";

// ...

const result = await Cidscan.initCaptureID(callback);

function callback(error, result) {
    if (error) {
        // do something in case of an error
    } else {
        // handle result
    }
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License