https://kotlinlang.org logo
#touchlab-tools
Title
# touchlab-tools
i

izakvdhoven

10/26/2023, 4:25 PM
Today I finished configuration of my organisation's first kmp-android/ios project. I'm using SKIE as well as KMMBridge for local and release spm publication. Setup was mostly painless and after having presented the poc to my (initially very sceptical) iOS developers, there were zero concerns raised. Everything just works out of the box 🎉 Thank you SO MUCH Touchlab for the fantastic tooling ❤️🙏 You guys rock 🤘
🔥 9
z

Zsolt Bencze

10/26/2023, 5:00 PM
@izakvdhoven out of curiosity, any scenarios where SKIE made life easier for you (e.g. enums)? Any tips for adding it to the project?
s

Stylianos Gakis

10/26/2023, 5:08 PM
I wonder as someone coming completely fresh into this, what did you follow to get this completely painless experience? We got some shared module which has been rotting a little bit with some old configurations regarding the Gradle setup and especially all the stuff done for CI which I think the right time is now to refresh with kmmbridge + possibly skie too.
i

izakvdhoven

10/26/2023, 5:12 PM
@Zsolt Bencze The project is still only in poc phase so insights are limited at this point, but the Flow -> AsyncSequence interop is miles better than the flow wrappers I've had to write in the past. SKIE was really straight-forward to add with the only challenge being that collecting flows from swift was crashing with a bad memory error on SKIE
0.5.0
. Though I haven't had a chance to create a reproduceble sample yet, so it might just have been something on my end. Anyways, downgrading SKIE to
0.4.20
solved the issue for me
👀 1
k

kpgalligan

10/26/2023, 5:16 PM
collecting flows from swift was crashing with a bad memory error on SKIE
0.5.0
Any info would be appreciated.
There's also a preview for 1.9.20-RC2, just FYI, although I'd have to go dig up details. Haven't had a chance to poke at it myself yet.
i

izakvdhoven

10/26/2023, 5:17 PM
@Stylianos Gakis I just followed the official docs which are fairly comprehensive. For KMMBridge specifically, I'd suggest cloning the sample project as there are a few configuration things in there that aren't mentioned in the docs. https://github.com/touchlab/KMMBridgeSKIETemplate I happen to be using GitHub Actions for CI and the workflow that Touchlab provides for building using KMMBridge just worked perfectly. Spm integration was super simple. Anyways, KMMBridge + SKIE is such an improvement over what I've used in the past. Really reccomend trying it out.
@kpgalligan Thanks for the info. I will try to slap together a sample project to reproduce over the weekend and log an issue if I manage to reproduce
gratitude thank you 1
k

kpgalligan

10/26/2023, 5:19 PM
Just FYI, we released a new version of KMMBridge and the template project. There were a fair number of changes to KMMBridge, so after the "stock" experience, configuration is different: https://touchlab.co/kmmbridge-quick-start
Also, live streamed demo:

https://www.youtube.com/watch?v=Z7vXNIrHi_o

We're also putting out little tech tips here and there. Sealed classes and generics with SKIE: https://touchlab.co/sealed-generics-and-skie
i

izakvdhoven

10/26/2023, 5:23 PM
Awesome! Thank you 🙏
4 Views