Skip to content

Commit

Permalink
fix(android): use SoLoader to load sqlite native library
Browse files Browse the repository at this point in the history
  • Loading branch information
msfjarvis committed Jul 31, 2023
1 parent 3bb5dff commit 80ab034
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 80ab034

Please sign in to comment.