russhwolf / multiplatform-settings

A Kotlin Multiplatform library for saving simple key-value data
Apache License 2.0
1.69k stars 67 forks source link

JVMSettings unable to store long value #134

Closed Pschsch closed 1 year ago

Pschsch commented 2 years ago

Seems that's due to limitation of java.util.prefs.Preferences.MAX_VALUE_LENGTH Related answer on SO: https://stackoverflow.com/questions/27558399/preferences-in-java

russhwolf commented 2 years ago

Multiplatform Settings doesn't currently do anything to save you from limitations of the underlying storage mechanism. Are you looking for a workaround or just reporting that it happens?

Pschsch commented 1 year ago

I've made a quick workaround, because the use case in so specific But at first, I've just want to report that. Maybe, you'll want to save others from underlying storage limitations

russhwolf commented 1 year ago

Closing as I don't plan to do anything about this at the moment