Skip to content

A small KMM (Kotlin Multi-platform Mobile) weather application.

Notifications You must be signed in to change notification settings

jayasuryat/KmmWeather

Repository files navigation

KmmWeather - Kotlin Multiplatform Mobile Sample

This is a Kotlin Multiplatform Mobile (KMM) Project. It includes Android and iOS applications with a native UI and a common module which is shared between Android and iOS written in Kotlin Native.

🚧 Work In-Progress 🚧

Features

This is a simple, single-page weather app, this app gets its weather data from OpenWeatherMap.

  • The host Android / iOS application retrieves current location coordinates and request weather data of those coordinates from the common module.
  • The common module uses Ktor (a powerful multiplatform HTTP client) to make API calls.
  • The common module also has support for caching the retrieved weather data into persistent storage using Multiplatform Settings, which is a multiplatform key-value storing library, which utilizes SharedPreferences / NSUserDefaults under the hood for Android / iOS respectively.
  • API response and locally cached data is serialized / deserialized using kotlinx.serialization.

About

A small KMM (Kotlin Multi-platform Mobile) weather application.

Topics

Resources

Stars

Watchers

Forks