An open API service indexing awesome lists of open source software.

https://github.com/jarroyoesp/kotlinmultiplatform_firebase_mvvm

Example of Kotlin Multiplatform app using Firebase(Firestore). Android & iOS Implementation.
https://github.com/jarroyoesp/kotlinmultiplatform_firebase_mvvm

android clean-architecture firebase firestore-database ios kotlin kotlin-multiplatform mvvm-architecture

Last synced: about 1 month ago
JSON representation

Example of Kotlin Multiplatform app using Firebase(Firestore). Android & iOS Implementation.

Awesome Lists containing this project

README

        

# Kotlin-Multiplatform MVVM Firebase (Android & iOS)
![kotlin-version](https://img.shields.io/badge/kotlin-1.3.50-orange)

Example of application using Kotlin Multiplatform and MVVM pattern for both platforms (Android & iOS) and FirestoreKMP to get data from Firebase. To achieve it the libraries used are:

- [FirestoreKMP](https://github.com/touchlab/FirestoreKMP): Library wrapping the Firestore SDK for Kotlin Multiplatform with clients for Android and iOS. Shared common code can run methods that get delegated to the platform specific SDKs.
- [moko-mmvm](https://github.com/icerockdev/moko-mvvm): This is a Kotlin Multiplatform library that provides architecture components of Model-View-ViewModel for UI applications. Components are lifecycle-aware on Android.
- [Serialization](https://github.com/Kotlin/kotlinx.serialization): to De/Serializing JSON
- [Kodein-DI](https://github.com/Kodein-Framework/Kodein-DI): Dependency injector
- [kotlinx.coroutines](https://github.com/Kotlin/kotlinx.coroutines): Library support for Kotlin coroutines with multiplatform support

### Android App

### iOS App

If you want to know a bit more without checl all the code, you can take a look at this post on ProAndroidDev.com:
https://proandroiddev.com/kotlin-multiplatform-firebase-mvvm-4cdcddd98893