Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/local_auth/local_auth_darwin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 2.0.5

* Fixes Swift 6 concurrency analyzer errors from `@MainActor` lifecycle delegate methods.
* Updates minimum supported SDK version to Flutter 3.41/Dart 3.11.

## 2.0.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,10 @@ public final class LocalAuthPlugin: NSObject, FlutterPlugin, LocalAuthApi, @unch
// Both are kept for backward compatibility: sceneDidBecomeActive for apps using UIScene lifecycle,
// and applicationDidBecomeActive for apps that haven't migrated yet.
#if os(iOS)
@MainActor
public func sceneDidBecomeActive(_ scene: UIScene) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retryStickyAuth()
}

@MainActor
public func applicationDidBecomeActive(_ application: UIApplication) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retryStickyAuth()
}
Expand Down
2 changes: 1 addition & 1 deletion packages/local_auth/local_auth_darwin/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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_darwin
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 2.0.4
version: 2.0.5

environment:
sdk: ^3.11.0
Expand Down
Loading