Open
Description
Description
This issue is related with the PR #14668 and Issue #14665
In FirebaseAuth/Sources/Swift/ActionCode/ActionCodeInfo.swift, the method actionCodeOperation(forRequestType:)
uses camelCase (e.g. "resetPassword", "verifyEmail") to match against the request type string received from the server.
This method should use SCREAMING_SNAKE_CASE.
Because of this mismatch, the method always returns .unknown.
Screenshot from the debug:
P.D: I am developing in flutter, not sure if this issue is in the right place. It only occurs in IOS devices.
Reproducing the issue
- Trigger any Firebase action that sends an email with an action link (e.g., verify email).
- When passed to
actionCodeOperation(forRequestType:)
, the internal mapping in ActionCodeInfo returns .unknown.
Firebase SDK Version
11.13.0
Xcode Version
16.3.0
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication
Targeted Platforms
All
Relevant Log Output
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!