Skip to content

Conversation

@wessels2
Copy link
Collaborator

@wessels2 wessels2 commented Sep 15, 2025

Description

Google playstore now requires support for 16KB page sizes: https://developer.android.com/guide/practices/page-sizes#update-packaging

Unfortunately android-database-sqlcipher is no longer being updated with the alternative being sqlcipher-android provided by zetetic

Following their migration steps, the plugin was updated.

This pr also includes the migration fix from the homedoctor-es fork

QA Steps

After updating the plugin and pulling it into our cordova app, we were able to successfully build, install and install the app on an Android device.

Running the check_elf_alignment.sh script provided by Android developer support shows that the library is 16kb aligned.

Recursively analyzing /.../debug/app-debug.apk

=== APK zip-alignment ===
 ... lib/arm64-v8a/libsqlcipher.so (OK)
... lib/x86_64/libsqlcipher.so (OK)
Verification successful
=========================

=== ELF alignment ===
/.../lib/armeabi-v7a/libsqlcipher.so: ALIGNED (2**14)
/.../lib/x86/libsqlcipher.so: ALIGNED (2**14)
/.../lib/arm64-v8a/libsqlcipher.so: ALIGNED (2**14)
/.../lib/x86_64/libsqlcipher.so: ALIGNED (2**14)
ELF Verification Successful
=====================

@wessels2 wessels2 marked this pull request as ready for review September 16, 2025 08:30
@wessels2 wessels2 merged commit cc7d1ba into latest Sep 16, 2025
@wessels2 wessels2 deleted the chore/16kb-support branch September 16, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants