Soon I'll resume work trying to get moko working on the iOS part of this project that was setup pre kotlin 1.4. First order of business will probably be to relaunch the new project wizard and put files in a proper hierarchy. Anyway, if anyone wants to have a look, code is LGPL: https://github.com/f8full/herdr
01/10/2021, 6:41 AM
what exactly not working with mvvm?
01/10/2021, 12:15 PM
I think I could never get the correct "compilation" (I'm a noob) from Kotlin to the library used by the iOS app. Note I'm also new to iOS dev but I could get the new project wizard output project to function correctly. Then I could never get the podsec to export the common thing moko needs with a specific name + the app pod. In X Code, i could never reference the types of moko to retrieve what I needed. Also, the moko livedata is kinda funky but I didn't explore. Don't hesitate if I can provide more info
Oh yeah if I may add, there seemed to be some kind of situaiton wereas there are different flavors of KMM gradle plugins that are configured and doing things slightly differently. I found those PRs that represent failed attemps
The moko way: https://github.com/f8full/herdr/pull/12
The kampkit way: https://github.com/f8full/herdr/pull/11
Maybe I missed something when I switched from Groovy syntax to Kotlin Script one (kts).
It's really possible back then the gradle configuration in the project was still groovy, unfortunately, adding one layer of things. I do think I tried in kts to none avail. That's all I have top of my head but I'll get back to it in the coming weeks and months. Thks again @alex009 for your interest 🙂
01/11/2021, 2:31 AM
i will check later this requests and comment it or apply required changes to fix
01/11/2021, 12:19 PM
Thank you so much.
oh @alex009 I found this PR which I think was the last attempt at the iOS client. I'm not sure if I tried with icerock gradle plugin though. Just putting it there