File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
- [ added] Introduced the Swift enum ` AuthProviderID ` for the Auth Provider IDs. (#9236 )
5
5
- [ deprecated] Swift APIs using ` String ` -typed ` productID ` s have been deprecated in favor
6
6
of newly added API that leverages the ` AuthProviderID ` enum.
7
+ - [ fixed] Breaking API: The ` email ` property in ` ActionCodeInfo ` is now non-optional.
7
8
8
9
# 10.21.0
9
10
- [ fixed] Fixed multifactor resolver to use the correct Auth instance instead of
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import Foundation
21
21
22
22
/// The email address to which the code was sent. The new email address in the case of
23
23
/// `ActionCodeOperation.recoverEmail`.
24
- @objc public let email : String ?
24
+ @objc public let email : String
25
25
26
26
/// The email that is being recovered in the case of `ActionCodeOperation.recoverEmail`.
27
27
@objc public let previousEmail : String ?
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ class AuthAPI_hOnlyTests: XCTestCase {
62
62
let auth = FirebaseAuth . Auth. auth ( )
63
63
let info = try await auth. checkActionCode ( " code " )
64
64
let _: ActionCodeOperation = info. operation
65
- if let _: String = info. email,
66
- let _: String = info. previousEmail { }
65
+ let _: String = info. email
66
+ if let _: String = info. previousEmail { }
67
67
}
68
68
69
69
func ActionCodeURL( ) {
You can’t perform that action at this time.
0 commit comments