Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
slav-petev opened this issue Oct 6, 2024 · 2 comments
Open

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

slav-petev opened this issue Oct 6, 2024 · 2 comments
Labels
feature Feature

Comments

@slav-petev
Copy link

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!

@robingenz
Copy link
Member

Would you be willing to create a PR?

@slav-petev
Copy link
Author

Hey, @robingenz, sure, I'll work on it and link it.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature
Projects
None yet
Development

No branches or pull requests

2 participants