Skip to content

feat: Add support for Android devices with 16 KB page size #594

Open
@slav-petev

Description

@slav-petev

Hello,

I'm working on a Capacitor project which uses capacitor-community-sqlite-6.0.2. Using an Android 15 emulator(API Level 35), which supports 16 KB page size(a new Android 15 feature described here), my app keeps crashing with a segmentation fault error.

After investigating the issue, I discovered that the culprit was

implementation 'net.zetetic:android-database-sqlcipher:4.5.3'

inside the android/build.gradle file.

Checking the android-database-sqlcipher repository, I discovered that it has been deprecated and its long-term relacement is here. I also discovered that version 4.6.1(as described in this issue already supports Android 15 devices with 16 KB page size.

Could you please change the following line inside the android/build.gradle file from

implementation 'net.zetetic:android-database-sqlcipher:4.5.3'

to

implementation "net.zetetic:sqlcipher-android:4.6.1@aar"

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions