-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[local_auth] Add platform interface to prepare for migration to federated architecture #4697
[local_auth] Add platform interface to prepare for migration to federated architecture #4697
Conversation
The failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failing federated_safety check should not be applicable here, as the app facing package does not yet make use of the platform interface.
This is true, but I'd rather we only override it when we really need to, and here there's a trivial solution of just doing the move as a separate initial PR before adding the platform interface package.
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/types/biometric_type.dart
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
…eration_interface
Alright, this PR should now only contain the changes for the platform interface. The moved files have been taken care of separately. |
packages/local_auth/local_auth_platform_interface/lib/default_method_channel_platform.dart
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/default_method_channel_platform.dart
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/types/auth_options.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/types/auth_strings.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/types/biometric_type.dart
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/types/biometric_type.dart
Outdated
Show resolved
Hide resolved
...ages/local_auth/local_auth_platform_interface/test/default_method_channel_platform_test.dart
Show resolved
Hide resolved
Change interface for handling platform specific messages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the churn, I have a couple of renames that I didn't think to suggest last time.
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/types/auth_messages.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_platform_interface/lib/types/biometric_type.dart
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Doh, wrong button)
…n to federated architecture (flutter/plugins#4697)
This PR is the first in a series to move the local_auth plugin to a federated architecture.
([local_auth] Refactor package to make use of new platform interface and native implementations #4701)
Relevant issues:
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.md
to add a description of the change, [following repository CHANGELOG style].///
).