-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesSupport for writing, building, and running plugin packagesp: local_authPlugin for local authentificationPlugin for local authentificationplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Prerequisites:
- Add Swift Package Manager as new opt-in feature for iOS and macOS #146256
- Update packages CI to test Swift Package Manager integration for plugins #146901
Follow "Converting an existing Objective-C Flutter Plugin to a Swift Package" instructions to make local_auth_darwin plugin compatible with Swift Package Manager and CocoaPods.
To validate all is working, run the following commands
// Disable swift package manager
flutter config --no-enable-swift-package-manager
// Build example with CocoaPods
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --packages=local_auth_darwin
// Build example with swift package manager
dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --swift-package-manager --packages=local_auth_darwin
// Run native tests
dart run script/tool/bin/flutter_plugin_tools.dart native-test --ios --packages=local_auth_darwinMetadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: pluginsSupport for writing, building, and running plugin packagesSupport for writing, building, and running plugin packagesp: local_authPlugin for local authentificationPlugin for local authentificationplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team