irgaly / kottage

Kotlin Multiplatform Key-Value Store Local Cache Storage for Single Source of Truth.
Other
70 stars 0 forks source link

Android Native Support? #248

Open ANURAGX opened 3 months ago

ANURAGX commented 3 months ago

I'm looking for android-native support any ETA on that?

irgaly commented 3 months ago

Kottage is using SQLDelight v2.0.1, but SQLDelight does not have androidNative support. So we can't use Kottage on androidNative.

https://github.com/cashapp/sqldelight/blob/0d41d969506b29f59ec6abc5eed9d09e963cbb85/drivers/native-driver/build.gradle#L29-L34

Please wait for SQLiter's androidNative support.

https://github.com/touchlab/SQLiter/issues/117

ANURAGX commented 3 months ago

https://github.com/cashapp/sqldelight/pull/4258 AndroidNative Support PR has been merged.

irgaly commented 3 months ago

cashapp/sqldelight/pull/4258 contains only sqldelight-runtime androidNative artifacts.

SQLDelight requires platform's driver, but there is no driver for androidNative now.

app.cacsh.sqldelight:native-driver

https://cashapp.github.io/sqldelight/2.0.2/native_sqlite/

There are no native-driver-androidnativeXXX artifacts on maven.

https://repo1.maven.org/maven2/app/cash/sqldelight/

image