Closed s-septimiu closed 3 months ago
@s-septimiu which koin version you are using. Please try latest koin version 3.5.6 in your project and see if problem is solved
@mirzemehdi I having the followings:
koin-android = { module = "io.insert-koin:koin-android", version.ref = "koin" } koin-androidx-compose = { module = "io.insert-koin:koin-androidx-compose", version.ref = "koinCompose" } koin-core = { module = "io.insert-koin:koin-core", version.ref = "koin" } koin-compose = { module = "io.insert-koin:koin-compose", version.ref = "koinComposeMultiplatform" }
koin = "3.6.0-Beta4" koinCompose = "3.6.0-Beta4" koinComposeMultiplatform = "3.6.0-wasm-alpha2"
So I think I'm using something newer than 3.5.6...
@s-septimiu yes, looks like koin versions are not compatible, I am using last stable version currently (3.5.6). I believe if you can use that version too it should solve your problem
@mirzemehdi I've had the time to update the koin library entries and indeed, with 3.5.6 and 1.1.5 (koin-compose) it's working without problem.
Maybe would be a good idea to add some compatibility versions with koin if it's that tightly coupled in order to avoid people giving up on this library because of this error 😄
Thanks for the help!
as soon as koin version 3.6.0 is stable, I'll update here. If it takes longer than I expected, I'll include with beta version :)
@s-septimiu now latest version of kmpauth (2.1.0-alpha01
) supports latest version of koin. this problem should be solved now.
used koin version: 4.0.0-RC1
https://github.com/mirzemehdi/KMPAuth/releases/tag/v2.1.0-alpha01
Closing this issue due to inactivity. If this is still an issue or need a help, please feel free to reopen the issue and provide additional context or updates. Thank you.
Hello @mirzemehdi, I'm building a KMP mobile app project and I'm trying to integrate your auth library. I'm using kotlin 2.0.0 and I've followed instructions but I'm having the following crash when trying to create a GoogleAuthProvider.
Do you know why I'm having such a crash?