Skip to content

Instantly share code, notes, and snippets.

@felansu
Created April 23, 2020 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felansu/cd6444f55e70a9a4c93d3de6367ead7c to your computer and use it in GitHub Desktop.
Save felansu/cd6444f55e70a9a4c93d3de6367ead7c to your computer and use it in GitHub Desktop.
import { NativeModules } from 'react-native';
function documentDetector() {
NativeModules.CombateAFraude.documentDetector((isInstalled) => {
console.log(isInstalled)
});
}
export default {
documentDetector
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment