Overview
Kotlin Multiplatform Pref(erence)s system allows you to locally store, retrieve, and remove data on each platform, leveraging the native APIs provided by each platform:
- The
Androidtarget leverages the SharedPreferences APIs - The
iOSandmacOStargets leverage the UserDefaults APIs - The
JVMtarget leverages the Preferences APIs - The
Webtarget leverages the LocalStorage APIs
Implementation
Gradle short
Gradle (Kotlin)
Gradle (version catalog)
libs.versions.toml
[versions]
kmprefs = "1.1.1"
[libraries]
kmprefs = { module = "io.github.n7ghtm4r3:kmprefs", version.ref = "kmprefs" }
build.gradle.kts
Support
If you need help using the library or encounter any problems or bugs, please contact us via the following links:
Thank you for your help!
Donations
If you want support project and developer
| Crypto | Address | Network |
|---|---|---|
| 3H3jyCzcRmnxroHthuXh22GXXSmizin2yp | Bitcoin | |
| 0x1b45bc41efeb3ed655b078f95086f25fc83345c4 | Ethereum | |
| AtPjUnxYFHw3a6Si9HinQtyPTqsdbfdKX3dJ1xiDjbrL | Solana |
If you want support project and developer with PayPal
Copyright © 2026 Tecknobit