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

Updated firebase-cocoapods to "11.1.0"

Open siarhei-luskanau opened this issue 1 year ago • 3 comments
trafficstars

siarhei-luskanau avatar Aug 27 '24 08:08 siarhei-luskanau

@Daeda88 Hi, I see you have approved the PR. This PR contains the compilation error in firebase-auth/src/iosMain/kotlin/dev/gitlive/firebase/auth/auth.kt file. I can't resolve some imports

siarhei-luskanau avatar Aug 28 '24 07:08 siarhei-luskanau

Ill try and have a look to see if I can understand why

Daeda88 avatar Aug 28 '24 09:08 Daeda88

@siarhei-luskanau I checked out your branch. The reason its failing is because the FIRAuthErrorCode enum was moved to Swift and Kotlin Native is not able to resolve it. I think the only way to solve it is by replacing the enum codes with the actual values https://github.com/firebase/firebase-ios-sdk/blob/2f6ac4c2c61cd57c7ea727009e187b7e1163d613/FirebaseAuth/Sources/Swift/Utilities/AuthErrors.swift#L51

I recall someone ran into a similar issue for another module, but I cannot find it. Maybe @nbransby remembers.

Daeda88 avatar Aug 28 '24 10:08 Daeda88