Hey! Check out kotlin.document.store. Any feedback would be greatly appreciated!
kotlin.documen.store is a fast NoSql document store for Kotlin Multiplatform, originally created for JetBrains/package-search-intellij-plugin for a fast and reliable offline cache, evolved for all KMP developers 🚀
m
marlonlom
12/22/2024, 11:27 PM
How to use it in android-only apps?
l
Lamberto Basti
12/23/2024, 2:12 PM
The instructions are partially on the readme, add the dependency:
val dbPath = context.getDatabasePath("leveldb")
.toPath()
.createDirectories()
val store = LevelDB.open(dbPath.absolutePathString())
val db = KotlinDocumentStore(store)