multiplatform-settings
Installation
SKILL.md
Multiplatform Settings (key-value persistence)
Overview
multiplatform-settings (russhwolf) is the KMP equivalent of SharedPreferences / NSUserDefaults — simple typed key-value storage from commonMain. Current version 1.3.0. The Settings interface wraps SharedPreferences on Android and NSUserDefaults on Apple, plus localStorage on JS.
When to use
- Storing small preferences, flags, or tokens in shared code
- Reactive reads of a setting (
FlowSettings) - NOT for structured/relational data → use
sqldelight-patterns