multiplatform-settings icon indicating copy to clipboard operation
multiplatform-settings copied to clipboard

A Kotlin Multiplatform library for saving simple key-value data

Results 38 multiplatform-settings issues
Sort by recently updated
recently updated
newest added

It would be pretty straightforward to create a class that manually wires in update listeners in Kotlin for platforms that don't natively have them. ```kotlin class ObservableSettingsWrapper(val delegate: Settings): ObservableSettings...

We are seeing random users crashing with this error on app launch. Is there any additional info that I can provide that will help this thread to evolve and resolve...

`ObservableSettings` provide some APIs to access the settings as a `Flow`. If you want to consume it as a state (to render in UI, for example) it has to be...

``` FATAL EXCEPTION: main Process: com.easemytrip.android, PID: 6341 java.lang.ExceptionInInitializerError at com.easemytrip.android.SplashActivity.onCreate(SplashScreenActivity.kt:111) at android.app.Activity.performCreate(Activity.java:8290) at android.app.Activity.performCreate(Activity.java:8269) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3657) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3813) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2308) at...

Hi, SerializationApi has bug in iOS, need to restart app to get new data.

currently, there is `defaultValue` argument as simple value like this... ``` var someValue: Int by settings.int("key", defaultValue = -1) ``` I'd be nice to have the default value deferred to...

We're seeing a crash (`EXC_CRASH (SIGABRT)`) on iOS 16 devices when calling `getStringOrNull` on a `KeychainSettings` instance, in a KMM framework included statically in my iOS app. This occurs across...

Looks like no code changes needed to make this work other than moving source-sets. Creating a `DataStore` looks different in KMP than it did in JVM, but that's the responsibility...

I'm willing to take a first stab at this. My idea is to have an internal state to observe when a value changes. This wouldn't notice modification from an external...

I'm using the JVM target on macOS, with no-arg `Settings()` API and despite following up the documentation for `Preferences.userRoot()` I am unable to find where the settings are stored on...