Closed paulb777 closed 2 months ago
More investigation today on the following block of code:
Two issues:
(lldb) po action
FirebaseAuth.AuthRecaptchaAction.defaultAction
(lldb) po actionToStringMap
▿ 3 elements
▿ 0 : 2 elements
- key : FirebaseAuth.AuthRecaptchaAction.signUpPassword
- value : "signUpPassword"
▿ 1 : 2 elements
- key : FirebaseAuth.AuthRecaptchaAction.signInWithPassword
- value : "signInWithPassword"
▿ 2 : 2 elements
- key : FirebaseAuth.AuthRecaptchaAction.getOobCode
- value : "getOobCode"
po NSClassFromString("RecaptchaAction") as? any RCAActionProtocol.Type
nil
Why does this cast fail?
Description
Verify Recaptcha Enterprise in v11. Since it relies on reflection, the code is a bit tricky. Follow-up to #13151
Reproducing the issue
Click Initialize Recaptcha Config in the Sample App
Firebase SDK Version
11.0.0
Xcode Version
15.3
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```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml Replace this line with the contents of your Podfile.lock! ```