Does anyone know how to do an in-app update to upd...
# multiplatform
k
Does anyone know how to do an in-app update to update the app for Android and something to update the app for iOS for Kotiln / Compose Multiplatform?
f
you need to use the api of each platform, Android have one https://developer.android.com/guide/playcore/in-app-updates and iOS you need to use something like this https://github.com/ArtSabintsev/Siren
k
@François Well, I knew I have to do some platform-dependent work. But can you or anyone provide any implementation on platform-dependent version check and update for Android / iOS in Kotlin multiplatform?
f
You can do it yourself, iOS is the easiest one. But I’m not sure if someone made one cross platform (which merge these both tools)
k
@François I guess I can do it, but it might take time as I'm new to IOS development. If some one has done it, it might be easier to catch up.
f
For iOS, you shouldn’t add this feature in the shared code, I don’t think it’s useful, it’s just one line of code to add (with default config) and it will be faster to compile than using cocoapod in your shared kmp lib.
I guess, same thing for Android 😄
k
Sure, let's see 😄