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.
- Host: GitHub
- URL: https://github.com/jarroyoesp/kotlinmultiplatform_firebase_mvvm
- Owner: jarroyoesp
- Created: 2020-04-08T14:49:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T08:16:18.000Z (about 5 years ago)
- Last Synced: 2025-02-28T03:25:47.413Z (2 months ago)
- Topics: android, clean-architecture, firebase, firestore-database, ios, kotlin, kotlin-multiplatform, mvvm-architecture
- Language: Kotlin
- Homepage:
- Size: 1.63 MB
- Stars: 51
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kotlin-Multiplatform MVVM Firebase (Android & iOS)
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