Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit a6d42f1

Browse files
[local_auth] Replace USE_FINGERPRINT to USE_BIOMETRIC post deprecation in example and README (#6032)
1 parent 2494a46 commit a6d42f1

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

packages/local_auth/local_auth/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.1
2+
3+
* Replaces `USE_FINGERPRINT` permission with `USE_BIOMETRIC` in README and example project.
4+
15
## 2.1.0
26

37
* Adds Windows support.

packages/local_auth/local_auth/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ Note that `local_auth` requires the use of a `FragmentActivity` instead of an
235235
### Permissions
236236

237237
Update your project's `AndroidManifest.xml` file to include the
238-
`USE_FINGERPRINT` permissions:
238+
`USE_BIOMETRIC` permissions:
239239
240240
```xml
241241
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
242242
package="com.example.app">
243-
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
243+
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
244244
<manifest>
245245
```
246246

packages/local_auth/local_auth/example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package="io.flutter.plugins.localauthexample">
33

44
<uses-permission android:name="android.permission.INTERNET"/>
5-
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
5+
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
66

77
<application android:label="local_auth_example" android:icon="@mipmap/ic_launcher">
88
<activity android:name="io.flutter.embedding.android.FlutterFragmentActivity"

packages/local_auth/local_auth/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for Android and iOS devices to allow local
33
authentication via fingerprint, touch ID, face ID, passcode, pin, or pattern.
44
repository: https://github.com/flutter/plugins/tree/main/packages/local_auth/local_auth
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
6-
version: 2.1.0
6+
version: 2.1.1
77

88
environment:
99
sdk: ">=2.14.0 <3.0.0"

packages/local_auth/local_auth_android/example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package="io.flutter.plugins.localauthexample">
33

44
<uses-permission android:name="android.permission.INTERNET"/>
5-
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
5+
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
66

77
<application android:label="local_auth_example" android:icon="@mipmap/ic_launcher">
88
<activity android:name="io.flutter.embedding.android.FlutterFragmentActivity"

0 commit comments

Comments
 (0)