firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

[auth-swift] Restore Recaptcha Enterprise integration

Open paulb777 opened this issue 1 year ago • 2 comments

Fix #13154

Restore the Objective-C implementation for the reflection calls necessary to integrate with the Recaptcha Enterprise weak dependency. The Initialize Recaptcha button in the sample app now succeeds.

Provide a bridge to the Objective-C protocol provided by the optional Recaptcha Enterprise dependency. Once the Recaptcha Enterprise provides a Swift interop protocol, this C and Objective-C code can be converted to Swift. Casting to a Objective-C protocol does not seem possible in Swift. The C API is a workaround for linkage problems with an Objective-C API.

paulb777 avatar Jun 29 '24 22:06 paulb777

2 Warnings
:warning: Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)
:warning: New public headers were added, did you remember to add them to the umbrella header?

Generated by :no_entry_sign: Danger

google-oss-bot avatar Jun 29 '24 22:06 google-oss-bot

✅  No API diff detected

Commit: 155d2a2526ae058c225a3bff065cabdc725ce9b7 Last updated: Mon Jul 1 09:39 PDT 2024 View workflow logs & download artifacts


github-actions[bot] avatar Jun 29 '24 22:06 github-actions[bot]

@ncooke3 Thanks for the thorough review!

paulb777 avatar Jul 01 '24 15:07 paulb777

Going to merge here. I'll address any additional comments in a subsequent PR

paulb777 avatar Jul 01 '24 23:07 paulb777