diff --git a/CODEOWNERS b/CODEOWNERS index fab0a1e6b7ae..7ccddb125462 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -88,7 +88,7 @@ packages/google_sign_in/google_sign_in_ios/** @vashworth packages/image_picker/image_picker_ios/** @vashworth packages/in_app_purchase/in_app_purchase_storekit/** @louisehsu packages/ios_platform_images/** @jmagman -packages/local_auth/local_auth_ios/** @louisehsu +packages/local_auth/local_auth_darwin/** @louisehsu packages/path_provider/path_provider_foundation/** @jmagman packages/pointer_interceptor/pointer_interceptor_ios/** @ditman packages/quick_actions/quick_actions_ios/** @hellohuanlin diff --git a/packages/local_auth/local_auth_ios/AUTHORS b/packages/local_auth/local_auth_darwin/AUTHORS similarity index 98% rename from packages/local_auth/local_auth_ios/AUTHORS rename to packages/local_auth/local_auth_darwin/AUTHORS index d5694690c247..f7240139e5b4 100644 --- a/packages/local_auth/local_auth_ios/AUTHORS +++ b/packages/local_auth/local_auth_darwin/AUTHORS @@ -65,3 +65,4 @@ Anton Borries Alex Li Rahul Raj <64.rahulraj@gmail.com> Bodhi Mulders +Om Phatak diff --git a/packages/local_auth/local_auth_darwin/CHANGELOG.md b/packages/local_auth/local_auth_darwin/CHANGELOG.md new file mode 100644 index 000000000000..7c816d348e89 --- /dev/null +++ b/packages/local_auth/local_auth_darwin/CHANGELOG.md @@ -0,0 +1,3 @@ +## 1.2.0 + +* Renames the package previously published as [`local_auth_ios`](https://pub.dev/packages/local_auth_ios) diff --git a/packages/local_auth/local_auth_ios/LICENSE b/packages/local_auth/local_auth_darwin/LICENSE similarity index 100% rename from packages/local_auth/local_auth_ios/LICENSE rename to packages/local_auth/local_auth_darwin/LICENSE diff --git a/packages/local_auth/local_auth_ios/README.md b/packages/local_auth/local_auth_darwin/README.md similarity index 96% rename from packages/local_auth/local_auth_ios/README.md rename to packages/local_auth/local_auth_darwin/README.md index 21d8218144bb..46cea6593921 100644 --- a/packages/local_auth/local_auth_ios/README.md +++ b/packages/local_auth/local_auth_darwin/README.md @@ -1,4 +1,4 @@ -# local\_auth\_ios +# local_auth_darwin The iOS implementation of [`local_auth`][1]. diff --git a/packages/local_auth/local_auth_ios/ios/Assets/.gitkeep b/packages/local_auth/local_auth_darwin/darwin/Assets/.gitkeep similarity index 100% rename from packages/local_auth/local_auth_ios/ios/Assets/.gitkeep rename to packages/local_auth/local_auth_darwin/darwin/Assets/.gitkeep diff --git a/packages/local_auth/local_auth_ios/ios/Classes/FLTLocalAuthPlugin.h b/packages/local_auth/local_auth_darwin/darwin/Classes/FLTLocalAuthPlugin.h similarity index 100% rename from packages/local_auth/local_auth_ios/ios/Classes/FLTLocalAuthPlugin.h rename to packages/local_auth/local_auth_darwin/darwin/Classes/FLTLocalAuthPlugin.h diff --git a/packages/local_auth/local_auth_ios/ios/Classes/FLTLocalAuthPlugin.m b/packages/local_auth/local_auth_darwin/darwin/Classes/FLTLocalAuthPlugin.m similarity index 100% rename from packages/local_auth/local_auth_ios/ios/Classes/FLTLocalAuthPlugin.m rename to packages/local_auth/local_auth_darwin/darwin/Classes/FLTLocalAuthPlugin.m diff --git a/packages/local_auth/local_auth_ios/ios/Classes/FLTLocalAuthPlugin_Test.h b/packages/local_auth/local_auth_darwin/darwin/Classes/FLTLocalAuthPlugin_Test.h similarity index 100% rename from packages/local_auth/local_auth_ios/ios/Classes/FLTLocalAuthPlugin_Test.h rename to packages/local_auth/local_auth_darwin/darwin/Classes/FLTLocalAuthPlugin_Test.h diff --git a/packages/local_auth/local_auth_ios/ios/Classes/messages.g.h b/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.h similarity index 98% rename from packages/local_auth/local_auth_ios/ios/Classes/messages.g.h rename to packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.h index f8574c094fc6..712216c7599f 100644 --- a/packages/local_auth/local_auth_ios/ios/Classes/messages.g.h +++ b/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.h @@ -1,7 +1,7 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Autogenerated from Pigeon (v13.0.0), do not edit directly. +// Autogenerated from Pigeon (v13.1.2), do not edit directly. // See also: https://pub.dev/packages/pigeon #import diff --git a/packages/local_auth/local_auth_ios/ios/Classes/messages.g.m b/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.m similarity index 96% rename from packages/local_auth/local_auth_ios/ios/Classes/messages.g.m rename to packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.m index 5e58f7e1e398..6f0ef07d4c9e 100644 --- a/packages/local_auth/local_auth_ios/ios/Classes/messages.g.m +++ b/packages/local_auth/local_auth_darwin/darwin/Classes/messages.g.m @@ -1,7 +1,7 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Autogenerated from Pigeon (v13.0.0), do not edit directly. +// Autogenerated from Pigeon (v13.1.2), do not edit directly. // See also: https://pub.dev/packages/pigeon #import "messages.g.h" @@ -16,6 +16,20 @@ #error File requires ARC to be enabled. #endif +static NSArray *wrapResult(id result, FlutterError *error) { + if (error) { + return @[ + error.code ?: [NSNull null], error.message ?: [NSNull null], error.details ?: [NSNull null] + ]; + } + return @[ result ?: [NSNull null] ]; +} + +static id GetNullableObjectAtIndex(NSArray *array, NSInteger key) { + id result = array[key]; + return (result == [NSNull null]) ? nil : result; +} + /// Possible outcomes of an authentication attempt. @implementation FLAAuthResultBox - (instancetype)initWithValue:(FLAAuthResult)value { @@ -38,19 +52,6 @@ - (instancetype)initWithValue:(FLAAuthBiometric)value { } @end -static NSArray *wrapResult(id result, FlutterError *error) { - if (error) { - return @[ - error.code ?: [NSNull null], error.message ?: [NSNull null], error.details ?: [NSNull null] - ]; - } - return @[ result ?: [NSNull null] ]; -} -static id GetNullableObjectAtIndex(NSArray *array, NSInteger key) { - id result = array[key]; - return (result == [NSNull null]) ? nil : result; -} - @interface FLAAuthStrings () + (FLAAuthStrings *)fromList:(NSArray *)list; + (nullable FLAAuthStrings *)nullableFromList:(NSArray *)list; @@ -263,7 +264,7 @@ void SetUpFLALocalAuthApi(id binaryMessenger, /// Returns true if this device supports authentication. { FlutterBasicMessageChannel *channel = [[FlutterBasicMessageChannel alloc] - initWithName:@"dev.flutter.pigeon.local_auth_ios.LocalAuthApi.isDeviceSupported" + initWithName:@"dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.isDeviceSupported" binaryMessenger:binaryMessenger codec:FLALocalAuthApiGetCodec()]; if (api) { @@ -284,7 +285,8 @@ void SetUpFLALocalAuthApi(id binaryMessenger, /// any biometrics are enrolled or not. { FlutterBasicMessageChannel *channel = [[FlutterBasicMessageChannel alloc] - initWithName:@"dev.flutter.pigeon.local_auth_ios.LocalAuthApi.deviceCanSupportBiometrics" + initWithName: + @"dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.deviceCanSupportBiometrics" binaryMessenger:binaryMessenger codec:FLALocalAuthApiGetCodec()]; if (api) { @@ -305,7 +307,7 @@ void SetUpFLALocalAuthApi(id binaryMessenger, /// without additional setup. { FlutterBasicMessageChannel *channel = [[FlutterBasicMessageChannel alloc] - initWithName:@"dev.flutter.pigeon.local_auth_ios.LocalAuthApi.getEnrolledBiometrics" + initWithName:@"dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.getEnrolledBiometrics" binaryMessenger:binaryMessenger codec:FLALocalAuthApiGetCodec()]; if (api) { @@ -326,7 +328,7 @@ void SetUpFLALocalAuthApi(id binaryMessenger, /// [strings] for any UI. { FlutterBasicMessageChannel *channel = [[FlutterBasicMessageChannel alloc] - initWithName:@"dev.flutter.pigeon.local_auth_ios.LocalAuthApi.authenticate" + initWithName:@"dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.authenticate" binaryMessenger:binaryMessenger codec:FLALocalAuthApiGetCodec()]; if (api) { diff --git a/packages/local_auth/local_auth_ios/ios/Resources/PrivacyInfo.xcprivacy b/packages/local_auth/local_auth_darwin/darwin/Resources/PrivacyInfo.xcprivacy similarity index 100% rename from packages/local_auth/local_auth_ios/ios/Resources/PrivacyInfo.xcprivacy rename to packages/local_auth/local_auth_darwin/darwin/Resources/PrivacyInfo.xcprivacy diff --git a/packages/local_auth/local_auth_ios/example/ios/RunnerTests/FLTLocalAuthPluginTests.m b/packages/local_auth/local_auth_darwin/darwin/Tests/FLTLocalAuthPluginTests.m similarity index 99% rename from packages/local_auth/local_auth_ios/example/ios/RunnerTests/FLTLocalAuthPluginTests.m rename to packages/local_auth/local_auth_darwin/darwin/Tests/FLTLocalAuthPluginTests.m index 918dd51fc8a5..1e6f2d0e8dd4 100644 --- a/packages/local_auth/local_auth_ios/example/ios/RunnerTests/FLTLocalAuthPluginTests.m +++ b/packages/local_auth/local_auth_darwin/darwin/Tests/FLTLocalAuthPluginTests.m @@ -4,7 +4,7 @@ @import LocalAuthentication; @import XCTest; -@import local_auth_ios; +@import local_auth_darwin; #import diff --git a/packages/local_auth/local_auth_ios/ios/local_auth_ios.podspec b/packages/local_auth/local_auth_darwin/darwin/local_auth_darwin.podspec similarity index 81% rename from packages/local_auth/local_auth_ios/ios/local_auth_ios.podspec rename to packages/local_auth/local_auth_darwin/darwin/local_auth_darwin.podspec index 0a1cb3fdc265..38dd90cf1057 100644 --- a/packages/local_auth/local_auth_ios/ios/local_auth_ios.podspec +++ b/packages/local_auth/local_auth_darwin/darwin/local_auth_darwin.podspec @@ -2,7 +2,7 @@ # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html # Pod::Spec.new do |s| - s.name = 'local_auth_ios' + s.name = 'local_auth_darwin' s.version = '0.0.1' s.summary = 'Flutter Local Auth' s.description = <<-DESC @@ -13,12 +13,12 @@ Downloaded by pub (not CocoaPods). s.license = { :type => 'BSD', :file => '../LICENSE' } s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } s.source = { :http => 'https://github.com/flutter/packages/tree/main/packages/local_auth' } - s.documentation_url = 'https://pub.dev/packages/local_auth_ios' + s.documentation_url = 'https://pub.dev/packages/local_auth_darwin' s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' s.platform = :ios, '12.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } - s.resource_bundles = {'local_auth_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']} + s.resource_bundles = {'local_auth_darwin_privacy' => ['Resources/PrivacyInfo.xcprivacy']} end diff --git a/packages/local_auth/local_auth_ios/example/README.md b/packages/local_auth/local_auth_darwin/example/README.md similarity index 100% rename from packages/local_auth/local_auth_ios/example/README.md rename to packages/local_auth/local_auth_darwin/example/README.md diff --git a/packages/local_auth/local_auth_ios/example/integration_test/local_auth_test.dart b/packages/local_auth/local_auth_darwin/example/integration_test/local_auth_test.dart similarity index 81% rename from packages/local_auth/local_auth_ios/example/integration_test/local_auth_test.dart rename to packages/local_auth/local_auth_darwin/example/integration_test/local_auth_test.dart index d73cfd6aa625..ac9ba69bff72 100644 --- a/packages/local_auth/local_auth_ios/example/integration_test/local_auth_test.dart +++ b/packages/local_auth/local_auth_darwin/example/integration_test/local_auth_test.dart @@ -5,14 +5,14 @@ import 'package:flutter_test/flutter_test.dart'; import 'package:integration_test/integration_test.dart'; -import 'package:local_auth_ios/local_auth_ios.dart'; +import 'package:local_auth_darwin/local_auth_darwin.dart'; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); testWidgets('canCheckBiometrics', (WidgetTester tester) async { expect( - LocalAuthIOS().getEnrolledBiometrics(), + LocalAuthDarwin().getEnrolledBiometrics(), completion(isList), ); }); diff --git a/packages/local_auth/local_auth_ios/example/ios/Flutter/AppFrameworkInfo.plist b/packages/local_auth/local_auth_darwin/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Flutter/AppFrameworkInfo.plist rename to packages/local_auth/local_auth_darwin/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/packages/local_auth/local_auth_ios/example/ios/Flutter/Debug.xcconfig b/packages/local_auth/local_auth_darwin/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Flutter/Debug.xcconfig rename to packages/local_auth/local_auth_darwin/example/ios/Flutter/Debug.xcconfig diff --git a/packages/local_auth/local_auth_ios/example/ios/Flutter/Release.xcconfig b/packages/local_auth/local_auth_darwin/example/ios/Flutter/Release.xcconfig similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Flutter/Release.xcconfig rename to packages/local_auth/local_auth_darwin/example/ios/Flutter/Release.xcconfig diff --git a/packages/local_auth/local_auth_ios/example/ios/Podfile b/packages/local_auth/local_auth_darwin/example/ios/Podfile similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Podfile rename to packages/local_auth/local_auth_darwin/example/ios/Podfile diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner.xcodeproj/project.pbxproj b/packages/local_auth/local_auth_darwin/example/ios/Runner.xcodeproj/project.pbxproj similarity index 99% rename from packages/local_auth/local_auth_ios/example/ios/Runner.xcodeproj/project.pbxproj rename to packages/local_auth/local_auth_darwin/example/ios/Runner.xcodeproj/project.pbxproj index 962d016dbe2c..8ee93b590997 100644 --- a/packages/local_auth/local_auth_ios/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/local_auth/local_auth_darwin/example/ios/Runner.xcodeproj/project.pbxproj @@ -49,7 +49,7 @@ 3398D2D126163948005A052F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 3398D2DC261649CD005A052F /* liblocal_auth.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = liblocal_auth.a; sourceTree = BUILT_PRODUCTS_DIR; }; 3398D2DF26164A03005A052F /* liblocal_auth.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = liblocal_auth.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 3398D2E326164AD8005A052F /* FLTLocalAuthPluginTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FLTLocalAuthPluginTests.m; sourceTree = ""; }; + 3398D2E326164AD8005A052F /* FLTLocalAuthPluginTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = FLTLocalAuthPluginTests.m; path = ../../darwin/Tests/FLTLocalAuthPluginTests.m; sourceTree = SOURCE_ROOT; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 658CDD04B21E4EA92F8EF229 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; @@ -359,11 +359,11 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh", - "${PODS_CONFIGURATION_BUILD_DIR}/local_auth_ios/local_auth_ios_privacy.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/local_auth_darwin/local_auth_darwin_privacy.bundle", ); name = "[CP] Copy Pods Resources"; outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/local_auth_ios_privacy.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/local_auth_darwin_privacy.bundle", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/packages/local_auth/local_auth_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to packages/local_auth/local_auth_darwin/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/local_auth/local_auth_darwin/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to packages/local_auth/local_auth_darwin/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/packages/local_auth/local_auth_darwin/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to packages/local_auth/local_auth_darwin/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/packages/local_auth/local_auth_darwin/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to packages/local_auth/local_auth_darwin/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/AppDelegate.h b/packages/local_auth/local_auth_darwin/example/ios/Runner/AppDelegate.h similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/AppDelegate.h rename to packages/local_auth/local_auth_darwin/example/ios/Runner/AppDelegate.h diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/AppDelegate.m b/packages/local_auth/local_auth_darwin/example/ios/Runner/AppDelegate.m similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/AppDelegate.m rename to packages/local_auth/local_auth_darwin/example/ios/Runner/AppDelegate.m diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/packages/local_auth/local_auth_darwin/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Base.lproj/Main.storyboard b/packages/local_auth/local_auth_darwin/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Base.lproj/Main.storyboard rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/Info.plist b/packages/local_auth/local_auth_darwin/example/ios/Runner/Info.plist similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/Info.plist rename to packages/local_auth/local_auth_darwin/example/ios/Runner/Info.plist diff --git a/packages/local_auth/local_auth_ios/example/ios/Runner/main.m b/packages/local_auth/local_auth_darwin/example/ios/Runner/main.m similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/Runner/main.m rename to packages/local_auth/local_auth_darwin/example/ios/Runner/main.m diff --git a/packages/local_auth/local_auth_ios/example/ios/RunnerTests/Info.plist b/packages/local_auth/local_auth_darwin/example/ios/RunnerTests/Info.plist similarity index 100% rename from packages/local_auth/local_auth_ios/example/ios/RunnerTests/Info.plist rename to packages/local_auth/local_auth_darwin/example/ios/RunnerTests/Info.plist diff --git a/packages/local_auth/local_auth_ios/example/lib/main.dart b/packages/local_auth/local_auth_darwin/example/lib/main.dart similarity index 99% rename from packages/local_auth/local_auth_ios/example/lib/main.dart rename to packages/local_auth/local_auth_darwin/example/lib/main.dart index 3e857bd88ef8..9cb85a6984ff 100644 --- a/packages/local_auth/local_auth_ios/example/lib/main.dart +++ b/packages/local_auth/local_auth_darwin/example/lib/main.dart @@ -8,7 +8,7 @@ import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; -import 'package:local_auth_ios/local_auth_ios.dart'; +import 'package:local_auth_darwin/local_auth_darwin.dart'; import 'package:local_auth_platform_interface/local_auth_platform_interface.dart'; void main() { diff --git a/packages/local_auth/local_auth_ios/example/pubspec.yaml b/packages/local_auth/local_auth_darwin/example/pubspec.yaml similarity index 79% rename from packages/local_auth/local_auth_ios/example/pubspec.yaml rename to packages/local_auth/local_auth_darwin/example/pubspec.yaml index 792bae6c908d..ba1a8b042d2c 100644 --- a/packages/local_auth/local_auth_ios/example/pubspec.yaml +++ b/packages/local_auth/local_auth_darwin/example/pubspec.yaml @@ -1,5 +1,5 @@ -name: local_auth_ios_example -description: Demonstrates how to use the local_auth_ios plugin. +name: local_auth_darwin_example +description: Demonstrates how to use the local_auth_darwin plugin. publish_to: none environment: @@ -9,9 +9,9 @@ environment: dependencies: flutter: sdk: flutter - local_auth_ios: + local_auth_darwin: # When depending on this package from a real application you should use: - # local_auth: ^x.y.z + # local_auth_darwin: ^x.y.z # See https://dart.dev/tools/pub/dependencies#version-constraints # The example app is bundled with the plugin so we use a path dependency on # the parent directory to use the current plugin's version. diff --git a/packages/local_auth/local_auth_ios/example/test_driver/integration_test.dart b/packages/local_auth/local_auth_darwin/example/test_driver/integration_test.dart similarity index 100% rename from packages/local_auth/local_auth_ios/example/test_driver/integration_test.dart rename to packages/local_auth/local_auth_darwin/example/test_driver/integration_test.dart diff --git a/packages/local_auth/local_auth_ios/lib/local_auth_ios.dart b/packages/local_auth/local_auth_darwin/lib/local_auth_darwin.dart similarity index 95% rename from packages/local_auth/local_auth_ios/lib/local_auth_ios.dart rename to packages/local_auth/local_auth_darwin/lib/local_auth_darwin.dart index 439b1b308392..4d0beabdefe3 100644 --- a/packages/local_auth/local_auth_ios/lib/local_auth_ios.dart +++ b/packages/local_auth/local_auth_darwin/lib/local_auth_darwin.dart @@ -9,21 +9,21 @@ import 'package:local_auth_platform_interface/local_auth_platform_interface.dart import 'src/messages.g.dart'; import 'types/auth_messages_ios.dart'; -export 'package:local_auth_ios/types/auth_messages_ios.dart'; +export 'package:local_auth_darwin/types/auth_messages_ios.dart'; export 'package:local_auth_platform_interface/types/auth_messages.dart'; export 'package:local_auth_platform_interface/types/auth_options.dart'; export 'package:local_auth_platform_interface/types/biometric_type.dart'; /// The implementation of [LocalAuthPlatform] for iOS. -class LocalAuthIOS extends LocalAuthPlatform { +class LocalAuthDarwin extends LocalAuthPlatform { /// Creates a new plugin implementation instance. - LocalAuthIOS({ + LocalAuthDarwin({ @visibleForTesting LocalAuthApi? api, }) : _api = api ?? LocalAuthApi(); /// Registers this class as the default instance of [LocalAuthPlatform]. static void registerWith() { - LocalAuthPlatform.instance = LocalAuthIOS(); + LocalAuthPlatform.instance = LocalAuthDarwin(); } final LocalAuthApi _api; diff --git a/packages/local_auth/local_auth_ios/lib/src/messages.g.dart b/packages/local_auth/local_auth_darwin/lib/src/messages.g.dart similarity index 86% rename from packages/local_auth/local_auth_ios/lib/src/messages.g.dart rename to packages/local_auth/local_auth_darwin/lib/src/messages.g.dart index cc93815a25ca..a3d722da5ec9 100644 --- a/packages/local_auth/local_auth_ios/lib/src/messages.g.dart +++ b/packages/local_auth/local_auth_darwin/lib/src/messages.g.dart @@ -1,7 +1,7 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// Autogenerated from Pigeon (v13.0.0), do not edit directly. +// Autogenerated from Pigeon (v13.1.2), do not edit directly. // See also: https://pub.dev/packages/pigeon // ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import @@ -11,15 +11,11 @@ import 'dart:typed_data' show Float64List, Int32List, Int64List, Uint8List; import 'package:flutter/foundation.dart' show ReadBuffer, WriteBuffer; import 'package:flutter/services.dart'; -List wrapResponse( - {Object? result, PlatformException? error, bool empty = false}) { - if (empty) { - return []; - } - if (error == null) { - return [result]; - } - return [error.code, error.message, error.details]; +PlatformException _createConnectionError(String channelName) { + return PlatformException( + code: 'channel-error', + message: 'Unable to establish connection on channel: "$channelName".', + ); } /// Possible outcomes of an authentication attempt. @@ -231,16 +227,16 @@ class LocalAuthApi { /// Returns true if this device supports authentication. Future isDeviceSupported() async { + const String channelName = + 'dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.isDeviceSupported'; final BasicMessageChannel channel = BasicMessageChannel( - 'dev.flutter.pigeon.local_auth_ios.LocalAuthApi.isDeviceSupported', - codec, - binaryMessenger: _binaryMessenger); + channelName, + codec, + binaryMessenger: _binaryMessenger, + ); final List? replyList = await channel.send(null) as List?; if (replyList == null) { - throw PlatformException( - code: 'channel-error', - message: 'Unable to establish connection on channel.', - ); + throw _createConnectionError(channelName); } else if (replyList.length > 1) { throw PlatformException( code: replyList[0]! as String, @@ -260,16 +256,16 @@ class LocalAuthApi { /// Returns true if this device can support biometric authentication, whether /// any biometrics are enrolled or not. Future deviceCanSupportBiometrics() async { + const String channelName = + 'dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.deviceCanSupportBiometrics'; final BasicMessageChannel channel = BasicMessageChannel( - 'dev.flutter.pigeon.local_auth_ios.LocalAuthApi.deviceCanSupportBiometrics', - codec, - binaryMessenger: _binaryMessenger); + channelName, + codec, + binaryMessenger: _binaryMessenger, + ); final List? replyList = await channel.send(null) as List?; if (replyList == null) { - throw PlatformException( - code: 'channel-error', - message: 'Unable to establish connection on channel.', - ); + throw _createConnectionError(channelName); } else if (replyList.length > 1) { throw PlatformException( code: replyList[0]! as String, @@ -289,16 +285,16 @@ class LocalAuthApi { /// Returns the biometric types that are enrolled, and can thus be used /// without additional setup. Future> getEnrolledBiometrics() async { + const String channelName = + 'dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.getEnrolledBiometrics'; final BasicMessageChannel channel = BasicMessageChannel( - 'dev.flutter.pigeon.local_auth_ios.LocalAuthApi.getEnrolledBiometrics', - codec, - binaryMessenger: _binaryMessenger); + channelName, + codec, + binaryMessenger: _binaryMessenger, + ); final List? replyList = await channel.send(null) as List?; if (replyList == null) { - throw PlatformException( - code: 'channel-error', - message: 'Unable to establish connection on channel.', - ); + throw _createConnectionError(channelName); } else if (replyList.length > 1) { throw PlatformException( code: replyList[0]! as String, @@ -319,16 +315,17 @@ class LocalAuthApi { /// [strings] for any UI. Future authenticate( AuthOptions arg_options, AuthStrings arg_strings) async { + const String channelName = + 'dev.flutter.pigeon.local_auth_darwin.LocalAuthApi.authenticate'; final BasicMessageChannel channel = BasicMessageChannel( - 'dev.flutter.pigeon.local_auth_ios.LocalAuthApi.authenticate', codec, - binaryMessenger: _binaryMessenger); + channelName, + codec, + binaryMessenger: _binaryMessenger, + ); final List? replyList = await channel .send([arg_options, arg_strings]) as List?; if (replyList == null) { - throw PlatformException( - code: 'channel-error', - message: 'Unable to establish connection on channel.', - ); + throw _createConnectionError(channelName); } else if (replyList.length > 1) { throw PlatformException( code: replyList[0]! as String, diff --git a/packages/local_auth/local_auth_ios/lib/types/auth_messages_ios.dart b/packages/local_auth/local_auth_darwin/lib/types/auth_messages_ios.dart similarity index 100% rename from packages/local_auth/local_auth_ios/lib/types/auth_messages_ios.dart rename to packages/local_auth/local_auth_darwin/lib/types/auth_messages_ios.dart diff --git a/packages/local_auth/local_auth_ios/pigeons/copyright.txt b/packages/local_auth/local_auth_darwin/pigeons/copyright.txt similarity index 100% rename from packages/local_auth/local_auth_ios/pigeons/copyright.txt rename to packages/local_auth/local_auth_darwin/pigeons/copyright.txt diff --git a/packages/local_auth/local_auth_ios/pigeons/messages.dart b/packages/local_auth/local_auth_darwin/pigeons/messages.dart similarity index 97% rename from packages/local_auth/local_auth_ios/pigeons/messages.dart rename to packages/local_auth/local_auth_darwin/pigeons/messages.dart index 67536140eceb..080d4572d2e5 100644 --- a/packages/local_auth/local_auth_ios/pigeons/messages.dart +++ b/packages/local_auth/local_auth_darwin/pigeons/messages.dart @@ -6,8 +6,8 @@ import 'package:pigeon/pigeon.dart'; @ConfigurePigeon(PigeonOptions( dartOut: 'lib/src/messages.g.dart', - objcHeaderOut: 'ios/Classes/messages.g.h', - objcSourceOut: 'ios/Classes/messages.g.m', + objcHeaderOut: 'darwin/Classes/messages.g.h', + objcSourceOut: 'darwin/Classes/messages.g.m', objcOptions: ObjcOptions( prefix: 'FLA', ), diff --git a/packages/local_auth/local_auth_ios/pubspec.yaml b/packages/local_auth/local_auth_darwin/pubspec.yaml similarity index 82% rename from packages/local_auth/local_auth_ios/pubspec.yaml rename to packages/local_auth/local_auth_darwin/pubspec.yaml index b49abb427668..0e1a21045e42 100644 --- a/packages/local_auth/local_auth_ios/pubspec.yaml +++ b/packages/local_auth/local_auth_darwin/pubspec.yaml @@ -1,8 +1,8 @@ -name: local_auth_ios +name: local_auth_darwin description: iOS implementation of the local_auth plugin. -repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth_ios +repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth_darwin issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22 -version: 1.1.7 +version: 1.2.0 environment: sdk: ^3.2.3 @@ -14,7 +14,8 @@ flutter: platforms: ios: pluginClass: FLTLocalAuthPlugin - dartPluginClass: LocalAuthIOS + dartPluginClass: LocalAuthDarwin + sharedDarwinSource: true dependencies: flutter: diff --git a/packages/local_auth/local_auth_ios/test/local_auth_ios_test.dart b/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.dart similarity index 97% rename from packages/local_auth/local_auth_ios/test/local_auth_ios_test.dart rename to packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.dart index 3edfcd7899e2..6075b50571f8 100644 --- a/packages/local_auth/local_auth_ios/test/local_auth_ios_test.dart +++ b/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.dart @@ -4,27 +4,27 @@ import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:local_auth_ios/local_auth_ios.dart'; -import 'package:local_auth_ios/src/messages.g.dart'; +import 'package:local_auth_darwin/local_auth_darwin.dart'; +import 'package:local_auth_darwin/src/messages.g.dart'; import 'package:local_auth_platform_interface/local_auth_platform_interface.dart'; import 'package:mockito/annotations.dart'; import 'package:mockito/mockito.dart'; -import 'local_auth_ios_test.mocks.dart'; +import 'local_auth_darwin_test.mocks.dart'; @GenerateMocks([LocalAuthApi]) void main() { late MockLocalAuthApi api; - late LocalAuthIOS plugin; + late LocalAuthDarwin plugin; setUp(() { api = MockLocalAuthApi(); - plugin = LocalAuthIOS(api: api); + plugin = LocalAuthDarwin(api: api); }); test('registers instance', () { - LocalAuthIOS.registerWith(); - expect(LocalAuthPlatform.instance, isA()); + LocalAuthDarwin.registerWith(); + expect(LocalAuthPlatform.instance, isA()); }); group('deviceSupportsBiometrics', () { diff --git a/packages/local_auth/local_auth_ios/test/local_auth_ios_test.mocks.dart b/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.mocks.dart similarity index 95% rename from packages/local_auth/local_auth_ios/test/local_auth_ios_test.mocks.dart rename to packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.mocks.dart index 2a8c039e2c56..30ea55ae2ca2 100644 --- a/packages/local_auth/local_auth_ios/test/local_auth_ios_test.mocks.dart +++ b/packages/local_auth/local_auth_darwin/test/local_auth_darwin_test.mocks.dart @@ -1,11 +1,11 @@ // Mocks generated by Mockito 5.4.4 from annotations -// in local_auth_ios/test/local_auth_ios_test.dart. +// in local_auth_darwin/test/local_auth_darwin_test.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes import 'dart:async' as _i3; -import 'package:local_auth_ios/src/messages.g.dart' as _i2; +import 'package:local_auth_darwin/src/messages.g.dart' as _i2; import 'package:mockito/mockito.dart' as _i1; // ignore_for_file: type=lint diff --git a/packages/local_auth/local_auth_ios/CHANGELOG.md b/packages/local_auth/local_auth_ios/CHANGELOG.md deleted file mode 100644 index f57dc703856c..000000000000 --- a/packages/local_auth/local_auth_ios/CHANGELOG.md +++ /dev/null @@ -1,99 +0,0 @@ -## 1.1.7 - -* Implements `isDeviceSupported`. -* Updates minimum iOS version to 12.0 and minimum Flutter version to 3.16.6. - -## 1.1.6 - -* Adds privacy manifest. - -## 1.1.5 - -* Updates to Pigeon 13. - -## 1.1.4 - -* Adds pub topics to package metadata. -* Updates minimum supported SDK version to Flutter 3.7/Dart 2.19. -* Fixes stale ignore: prefer_const_constructors. -* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. - -## 1.1.3 - -* Migrates internal implementation to Pigeon. -* Updates minimum supported SDK version to Flutter 3.3/Dart 2.18. - -## 1.1.2 - -* Internal refactoring for maintainability. - -## 1.1.1 - -* Clarifies explanation of endorsement in README. -* Aligns Dart and Flutter SDK constraints. - -## 1.1.0 - -* Updates minimum Flutter version to 3.3 and iOS 11. - -## 1.0.13 - -* Updates links for the merge of flutter/plugins into flutter/packages. -* Updates minimum Flutter version to 3.0. - -## 1.0.12 - -* Adds compatibility with `intl` 0.18.0. - -## 1.0.11 - -* Fixes issue where failed authentication was failing silently - -## 1.0.10 - -* Updates imports for `prefer_relative_imports`. -* Updates minimum Flutter version to 2.10. - -## 1.0.9 - -* Fixes avoid_redundant_argument_values lint warnings and minor typos. - -## 1.0.8 - -* Updates `local_auth_platform_interface` constraint to the correct minimum - version. - -## 1.0.7 - -* Updates references to the obsolete master branch. - -## 1.0.6 - -* Suppresses warnings for pre-iOS-11 codepaths. - -## 1.0.5 - -* Removes unnecessary imports. -* Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors - lint warnings. - -## 1.0.4 - -* Fixes `deviceSupportsBiometrics` to return true when biometric hardware - is available but not enrolled. - -## 1.0.3 - -* Adopts `Object.hash`. - -## 1.0.2 - -* Adds support `localizedFallbackTitle` in authenticateWithBiometrics on iOS. - -## 1.0.1 - -* BREAKING CHANGE: Changes `stopAuthentication` to always return false instead of throwing an error. - -## 1.0.0 - -* Initial release from migration to federated architecture.