fix(android): use SoLoader to load sqlite native library

This commit is contained in:
Harsh Shandilya 2023-07-31 19:10:03 +05:30
parent 3bb5dfffbe
commit 80ab034493
No known key found for this signature in database

View file

@ -33,6 +33,7 @@ class ClawApplication : Application(), ApplicationComponentOwner {
Whetstone.inject(this)
super.onCreate()
SoLoader.init(this, false)
SoLoader.loadLibrary("sqlite3x")
plugins.forEach { plugin -> plugin.apply(this) }
val postUpdateWorkRequest =
PeriodicWorkRequestBuilder<SavedPostUpdaterWorker>(POST_REFRESH_PERIOD, TimeUnit.HOURS)