Skip to content

Commit ef1a22b

Browse files
petekpfkotsian
authored andcommitted
Update README with correct permission for API 28+
1 parent 233471e commit ef1a22b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,19 @@ $ react-native link react-native-fingerprint-scanner
8383

8484
Add the following permissions to their respective files:
8585

86+
#### Android
8687
In your `AndroidManifest.xml`:
8788

89+
API level 28+ ([Reference](https://developer.android.com/reference/android/Manifest.permission#USE_BIOMETRIC))
8890
```xml
89-
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
91+
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
9092
```
9193

94+
API level <28 ([Reference](https://developer.android.com/reference/android/Manifest.permission#USE_FINGERPRINT))
95+
```xml
96+
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
97+
```
98+
#### iOS
9299
In your `Info.plist`:
93100

94101
```xml

0 commit comments

Comments
 (0)