I've been working on a Weather app using Kotlin Mu...
# multiplatform
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