Hi all. Is there any way/example to use third-par...
# multiplatform
s
Hi all. Is there any way/example to use third-party IOS libraries in KMM project with expect/actual? My app has authorization through Google. I want to do something like this: make
expect signIn()
and implement
actual
natively on each platform. These implementations will use connected third-party libraries There are difficulties with implementation of GoogleSignIn swift code. Is there any way/example to use third-party IOS libraries in KMM project? I don't understand if I have to call IOS library code from Kotlin? What are some ways to do this?
a
It's possible, if the library has c headers. You can add it as cocoa pods and use it in iOS source sets.
However I tried to do that with Firebase Phone Authentication, couldn't get it to work. Was getting scheme URL return null.