-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[local_auth] Add native iOS implementation of platform interface #4699
Conversation
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.
We should do the move of the app-facing package as a precursor PR to remove complexity from the substantive PR.
d18881c
to
24556fa
Compare
packages/local_auth/local_auth_ios/example/ios/RunnerTests/FLTLocalAuthPluginTests.m
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_ios/lib/types/auth_messages_ios.dart
Outdated
Show resolved
Hide resolved
packages/local_auth/local_auth_ios/lib/types/auth_messages_ios.dart
Outdated
Show resolved
Hide resolved
You'll need to resolve with #3806, but it should be straightforward. |
0a3a26d
to
60de1a7
Compare
'signInTitle': androidSignInTitle, | ||
}, | ||
), | ||
isMethodCall('authenticate', |
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.
Tests in the app-facing package need to be rewritten to mock the platform interface, not the method channel. Whether any given implementation uses this platform channel format is an implementation detail of what is now a separate package.
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.
Yes, this has been done in #4701 which contains all changes for the app facing package.
packages/local_auth/local_auth_ios/example/ios/RunnerTests/FLTLocalAuthPluginTests.m
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.
This hasn't been updated to do a move, rather than copy, of the iOS implementation (which is why it's not suffering from #4700 (review))
I couldn't figure out how to update this PR to register the files as being moved, so I've created a new PR where this is fixed instead. Closing this PR as it is now superseded by: |
This PR is one in a series to move the local_auth plugin to a federated architecture.
([local_auth] Add platform interface to prepare for migration to federated architecture #4697)
([local_auth] Refactor package to make use of new platform interface and native implementations #4701)
This PR remains in draft mode until the PR for the platform interface package has been merged and published (#4697).
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].///
).