Skip to content

Commit

Permalink
Merge pull request #103 from markrickert/readme-permissions
Browse files Browse the repository at this point in the history
Adds readme section on permissions.
  • Loading branch information
zibs authored Apr 26, 2018
2 parents 454d0cf + 0248532 commit fb494f4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,23 @@ On Android you can customize the title and color of the pop-up by passing in the

Error handling is also different between the platforms, with iOS currently providing much more descriptive error codes.

### App Permissions

Add the following permissions to their respective files:

In your `AndroidManifest.xml`:

```xml
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
```

In your `Info.plist`:

```xml
<key>NSFaceIDUsageDescription</key>
<string>Enabling Face ID allows you quick and secure access to your account.</string>
```

### Requesting Face ID/Touch ID Authentication
Once you've linked the library, you'll want to make it available to your app by requiring it:

Expand Down

0 comments on commit fb494f4

Please sign in to comment.