Skip to content

Commit ce468fa

Browse files
authored
[Auth] nil out SafariViewController when presentation finishes (#13715)
1 parent 70558c9 commit ce468fa

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

FirebaseAuth/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- [Fixed] Prevent a bad memory access crash by using non-ObjC, native Swift
66
types in the SDK's networking layer, and moving synchronous work off of
77
the shared Swift concurrency queue. (#13650)
8+
- [Fixed] Restore Firebase 10 behavior by forwarding errors from interrupted
9+
reCAPTCHA or OIDC login flows. (#13645)
810

911
# 11.2.0
1012
- [Fixed] Fixed crashes that could occur in Swift continuation blocks running in the Xcode 16

FirebaseAuth/Sources/Swift/Utilities/AuthURLPresenter.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
9090
kAuthGlobalWorkQueue.async {
9191
if controller == self.safariViewController {
92+
self.safariViewController = nil
9293
// TODO: Ensure that the SFSafariViewController is actually removed from the screen
9394
// before invoking finishPresentation
9495
self.finishPresentation(withURL: nil,

0 commit comments

Comments
 (0)