This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[local_auth] Allow device authentication (pin/pattern/passcode) #2489
Merged
Merged
Changes from 27 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
d4bf470
Add generic local authentication method
kennethj 624e178
Android failover to device authentication
kennethj 30c9e06
Add authenticate method that fails over to device authentication
kennethj 074c9ff
Update example
kennethj 706b5d3
Create prompt with fail over if fail over is true
kennethj 1673242
Update example
kennethj 589c61f
Update tests
kennethj 9bb138f
Add documentation comments
kennethj 73240b0
Increment version to 0.6.2 indicating a new feature
kennethj 2bd7267
Add 0.6.2 changes to changelog
kennethj f54da09
Format code
kennethj 34d730a
Format code
kennethj 8505137
Format code
kennethj 968018b
Format code
kennethj e7337e1
Update readme example
kennethj 972d5da
Update gradle version
kennethj ee8b92c
Update gradle version
kennethj fb785a5
Merge branch 'master' into feature/local_auth
kennethj 03ab18c
Handle older versions of the SDK 23+
kennethj 8c8f35f
Add isDeviceSupported method
kennethj adecffb
Merge branch 'feature/local_auth' of https://github.com/kennethj/flut…
kennethj ea48204
Format code
kennethj 4f740b5
Merge branch 'master' into feature/local_auth
kennethj b76ac35
Use ternary instead of Visibility widget
kennethj a8b033d
Merge branch 'feature/local_auth' of https://github.com/kennethj/flut…
kennethj 3ae02ab
Merge branch 'master' into feature/local_auth
kennethj 144a66d
Merge branch 'master' into feature/local_auth
kennethj 60b4c43
Merge branch 'master' into feature/local_auth
kennethj 51945ba
Clean up
kennethj 64c12d6
Remove spaces
kennethj 7c24fb4
format code
kennethj 3aea84d
Format code
kennethj 39bb801
Format
kennethj 25dadc0
Refactor variable names
kennethj 51ae491
Update version
kennethj 58c0724
Gradle updates
kennethj 208d9f4
Refactor: remove redundant setters
kennethj 773a9d7
Allow dialog text to be set in dart
kennethj bebd37a
Use an enum to avoid null state
kennethj f376def
Add breaking change note to changelog
kennethj 65508fa
Return `Future<bool>` instead of `Future<bool?>`
kennethj c43771f
Move `resultListener` property to top of class
kennethj be61dc1
Remove unneeded constructor
kennethj 69455da
Use `authenticate` as the primary method and remove redundant code
kennethj df8348f
Update gradle
kennethj 8f5c1b5
Format code
kennethj a76349d
Fix tests to include 'biometricOnly' parameter
kennethj 3b8bbe6
Use `call.arguments`instead of `arguments`
kennethj 7d2f4c1
Cast boolValue
kennethj 5a48b9b
Format code
kennethj 26d21ab
Add null checks
kennethj 50d60d1
Update gradle version
kennethj d4439cd
Update gradle
kennethj 3f40e6c
Set service properties onAttachedToActivity
kennethj 2d1b4ba
Show errors
kennethj 54995ea
Format
kennethj e65260f
Remove mystery hack of forgotten days gone by
kennethj 454edbd
Add gradle file
kennethj ee9af37
Remove unreleased feature note from 0.6.3+1
kennethj a59f5d8
Update changelog
kennethj 81d5bd3
Merge branch 'feature/local_auth' of https://github.com/kennethj/flut…
kennethj d2a0c0c
Remove local result properties and result listener
kennethj 2d184cd
Remove unneeded this.
kennethj 0c199f6
Add deprecated annotation to authenticateWithBiometrics
kennethj 34dac80
Format code
kennethj 2e42403
Merge branch 'master' into feature/local_auth
kennethj 028d966
Add doc comment
kennethj 3f8d163
Update readme
kennethj e0facb5
Format code
kennethj d0eda35
Update deprecate code
kennethj 3f3d3fa
Enable useAndroidX
kennethj 975e0c9
Revert changes to integration_test
kennethj 7e27dec
Update gradle.properties
kennethj bc32335
Add lockRequestResult
kennethj db5bef2
Merge branch 'feature/local_auth' of https://github.com/kennethj/flut…
kennethj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="io.flutter.plugins.localauth"> | ||
<uses-sdk android:targetSdkVersion="29"/> | ||
<uses-permission android:name="android.permission.USE_FINGERPRINT" /> | ||
</manifest> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.