react-native-mantra-fingerprint
Advanced tools
Comparing version 1.0.27 to 1.0.28
{ | ||
"name": "react-native-mantra-fingerprint", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "React native bridge for mantra finger print", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import { NativeModules } from 'react-native'; | ||
import createError from './createError'; | ||
const { MantraModules } = NativeModules; | ||
const { MantraModule } = NativeModules; | ||
export default () => { | ||
alert(MantraModules); | ||
alert(MantraModule); | ||
return new Promise((resolve, reject) => { | ||
MantraModules.InitScanner() | ||
MantraModule.InitScanner() | ||
.then((biometryType) => resolve(biometryType)) | ||
@@ -11,0 +11,0 @@ .catch(error => reject(createError(error.message))); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13984447
40
168