-
Notifications
You must be signed in to change notification settings - Fork 715
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
Support 16 KB page sizes #1021
Comments
Hello I have the same demand. I use the plugin in my major apps: cordova-sqlite-ext I also use the following plugin on other app: Hello, for info I did a small analysis of the concerned libraries.
|
Any updates on this? |
Hello Here some infos/hints to help to correct the problem. I found this depot who seems to generate the .so libs Some doc: https://developer.android.com/guide/practices/page-sizes With NDK 26 at minimum, it seems one of the following flags must be added: |
Hello, tested with Pixel 8 With Android 15 QR1 + Page Size 16Kb Mode. App don't works and are not downloadable from Google Play also. |
Logs from google play store: 20 h 02 |
I cloned https://github.com/brodycj/android-sqlite-ndk-native-driver and made changes to Application.mk as specified in Android documentation: https://developer.android.com/guide/practices/page-sizes#compile-r27-higher Raised a PR on brodycj/android-sqlite-ndk-native-driver#10 |
Thanks for your commit. I advice you also test on real AAB Bu dle on Google Play. Because i had the following problem, recompilation seems not enough. If not works, you will need to do that on your Main app. In your Cordova app, you must add the following code in /app/build.gradle, under android { block: |
@hooliapps, Thanks for the suggestion. You're correct, I couldn't install the app from play store (Bundle AAB). Adding the line provided in app/build.gradle fixed the installation. |
@brodycj , Any update? |
Dears, There is another version of the same plugin which uses the native SQL libraries from android: https://github.com/storesafe/cordova-sqlite-express-build-support We have tested that and is even backwards compatible with the old SQL file created by the plugin that uses custom SQL libraries. Thanks |
Dears,
Beginning with Android 15, Android supports devices that are configured to use a page size of 16 KB (16 KB devices).
https://developer.android.com/guide/practices/page-sizes#other-build-systems
I have tested this plugin with an Android 15 emulator that uses 16KB page sizes and when creating a database app crashes giving the following error:
libsqlc-ndk-native-driver.so might need to be recompiled to support 16KB page sizes.
Thanks,
The text was updated successfully, but these errors were encountered: