# react-native-zoi-local-authentication

unlock your phone with local authentication pin|password|pattern|fingerprint

## Installation

```sh
npm install react-native-zoi-local-authentication
```

## Usage

```js
import  Unlock  from 'react-native-zoi-local-authentication';

// ...

  Unlock("title", "desctiption")
    .then((result) => {
    console.log("Success", result)
    
    })
    .catch(error => console.log("Error", error))
```


## Android 


Add this line inside android/app/build.gradle

```js
dependencies {
  ....
  implementation "androidx.fragment:fragment:1.3.4"

}

```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License





MIT
