Skip to content

Commit

Permalink
docs(readme): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsogl committed Sep 15, 2019
1 parent a93de2d commit 0fd5225
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -3,7 +3,7 @@
[![npm version](https://badge.fury.io/js/capacitor-face-id.svg)](https://badge.fury.io/js/capacitor-face-id)
[![Build Status](https://travis-ci.org/danielsogl/capacitor-face-id.svg?branch=master)](https://travis-ci.org/danielsogl/capacitor-face-id)

Allow useres to authenticate with Face ID or Touch ID on iOS devices
Allow users to authenticate with Face ID or Touch ID on iOS devices

![Logo](https://www.intego.com/mac-security-blog/wp-content/uploads/2017/10/Touch-ID-vs-Face-ID.png)

Expand Down Expand Up @@ -35,11 +35,11 @@ FaceId.isAvailable().then(checkResult => {
FaceId.auth().then(() => {
console.log('authenticated');
}).catch((error: PluginResultError) => {
// handle rejection errors here
// handle rejection errors
console.error(error.message);
});
} else {
// use fallback authentication here
// use custom fallback authentication here
}
});

Expand Down
5 changes: 1 addition & 4 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "capacitor-face-id",
"version": "0.0.3",
"description": "Allow useres to authenticate with Face ID or Touch ID on iOS devices",
"description": "Allow users to authenticate with Face ID or Touch ID on iOS devices",
"main": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"scripts": {
Expand Down Expand Up @@ -34,9 +34,6 @@
"capacitor": {
"ios": {
"src": "ios"
},
"android": {
"src": "android"
}
},
"repository": {
Expand Down

0 comments on commit 0fd5225

Please sign in to comment.