I've been working on a Weather app using Kotlin Multiplatform and Compose Multiplatform. This app us...
r
I've been working on a Weather app using Kotlin Multiplatform and Compose Multiplatform. This app uses the weatherapi. All UI is shared between iOS and Android, using Compose Multiplatform. Features: 🏙️ Get weather for current location in first use. Show current day weather, including wind, rain, sunset, sunrise, moonset and moonrise. 🌦️ Show tomorrow's weather. ☀️ Show three days forecast. 🔍 Search cities. 💙 Save favorite cities. Request location permissions to the users. Libraries used: - Kamel - Load remote images. - Voyager - Compose navigation. - moko-resources - String resources. - moko-mvvm - Used to provide ViewModel implementations. - SqlDelight - Local database. - DataStore - Used to save preferences. - moko-permissions - Handle user permissions in both platforms. - ktor - Used for networking - koin - For dependency injection - kotlinx-datetime - Date-time related operations - BuildKonfig - Read values from gradle files Github repo: https://github.com/guerrerorodrigo/compose-multiplatform-weather-app
👍🏻 1
😎 3
👍 12
💯 1
k
Awsome! I’ve been working on achieving exactly the same thing with all those libraries.
💙 4
j
Cool! I didn't know BuildKonfig yet, was already building my own variant of it. This plugin is nicer 😁
👍 2
r
yes! it saved me a lot of time 😄
🙂 2
m
@Rodrigo Guerrero you change to PreCompose - Used for compose navigation. no Voyager ? I don`t know nothing about it .. I searching about navigation...
r
yes, I tried Voyager first, it was ok. However, later I found about
PreCompose
and it is easier to integrate
🙏 1