Mockey
multiplatform-settings
Mockey | multiplatform-settings | |
---|---|---|
1 | 4 | |
116 | 1,414 | |
- | - | |
0.0 | 7.0 | |
over 2 years ago | about 1 month ago | |
Java | Kotlin | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mockey
-
Our KMP Journey
We rely heavily on Mockey to mock our api responses for testing and one of the first interceptor we ported to work with Ktor client. Below is sample code of our interceptor. We toggle the use of interceptor using debug preferences.
multiplatform-settings
- Multiplatform Settings 1.0.0
-
Looking toward Multiplatform Settings 1.0.0
View on GitHub
-
Encrypted Key-Value Store in Kotlin Multiplatform
Multiplatform Settings is a solid multiplatform key-value store, created by Touchlab's own Russell Wolf, used extensively at Touchlab, as well as in Jetbrains' KMM Production Sample. There is a Settings interface that is implemented for Android, iOS, MacOS, and JVM platforms. At first glance, it doesn't look like Multiplatform Settings offers any encrypted storage. But thanks to the abstraction that Android has built into SharedPreferences and Multiplatform Settings' support for saving to the iOS keychain, our work is pretty easy.
-
Our KMP Journey
To manage common preferences across android & iOS, we use this great library by Touchlab
What are some alternatives?
mock-box - Mock-Box is a lightweight and powerful mock library that supports testing.
moko-resources - Resources access for mobile (android & ios) Kotlin Multiplatform development
kmm-production-sample - This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
Kotlin-Multiplatform-Libraries - Kotlin Multiplatform Libraries. Welcome PR if you find or create new Kotlin Multiplatform Library.
screeps-kotlin-starter - A starting point for a Screeps AI written in Kotlin
kord - Idiomatic Kotlin Wrapper for The Discord API
collab-edit - Edit text in collaboration!
KaMPKit - KaMP Kit by Touchlab. A collection of code & tools designed to get your mobile team started quickly w/Kotlin Multiplatform
kotlin-multiplatform-diff - Multiplaform kotlin library for calculating text differences. Based on java-diff-utils, supports JVM, JS and native targets.
krontab - Library for using Crontab-like syntax in scheduling of some Kotlin Coroutines tasks to do from time to time
CompleteKotlin - Gradle Plugin to enable auto-completion and symbol resolution for all Kotlin/Native platforms.