Hi everyone, we already have two separate repos - ...
# multiplatform
d
Hi everyone, we already have two separate repos - 1 Android and 1 iOS for our apps at my company and I am looking for the "best" (most frictionless for our iOS devs) way to start sharing code between the 2 repos with KMM. Our app is quite new so we are using SPM only (no cocoapods) on the iOS side. Adding cocoapods won't be the end of the world but ideally we'd avoid it.. Could someone point me in a direction or any kind of reading materials describing our options?
m
I think your scenario is the main use case for https://touchlab.co/introducing-kmmbridge-teams/ I've never used it, so I don't have an opinion
d
I have full freedom to experiment with our Android repo (converting it to KMM if needed) or starting a new repo for a KMM library. The only 2 limitations are that I can't publicly host anything so it needs a private mechanism and to not make our iOS devs life annoying..
Thank you mkrussel, I'll dive into that article right away
I guess I’ve missed another detail - we’re using Bitbucket, not Github… Does anyone have any materials for Bitbucket? Perhaps #touchlab-tools is better place to ask but worth asking here too..
c
This is a good article with options for integrating KMM into your iOS app
Personally my preferred option is Android/iOS/KMM all together in a monorepo. So much simpler.
m
I'm doing the monorepo also, but I started my project from scratch.