Closed
Description
Description
We just upgraded our Firebase SDK to the latest version and are receiving a warning that the method updateEmail(to: email)
has been deprecated. The warning suggests that we use sendEmailVerification(beforeUpdatingEmail email: String)
instead.
For our user case however, we don't want to send a verification email, but we just want to set the users email manually.
It looks like the relevant pull request is this one: Email enumeration protection related error and doc updates #12081
What is the recommended way to do this now that the above method has been deprecated?
Reproducing the issue
- Install Firebase SDK for iOS
- Call the
updateEmail(to: email)
method. - See warning in Xcode
Firebase SDK Version
10.19.0
Xcode Version
15.0
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved
snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock
snippet
Replace this line with the contents of your Podfile.lock!