Jetpack DataStore is unarguably awesome from both an API and compatibility standpoint. But it is also an elephant in the room when optimizing for app size (👋 Instant App).
723KB to persist a single Boolean… Might switch to File.exists() 😅
723KB to persist a single Boolean… Might switch to File.exists() 😅
Comments
I almost always use DataStore with a custom OkioSerializer when I need to store raw values or objects that are serializable using Kotlin Serialization.