Play Store Rejection When Creating a New App - Incompatibility with 16KB Library (Android 15) #554
Replies: 2 comments 7 replies
-
This is an issue with any plugin that imports or bundles native binaries. Libraries that purely execute in the JVM (e.g. pure java or kotlin libraries) are not affected. Cordova does not maintain any packages that makes use of native libraries, so the core cordova framework is not affected. But third-party plugins may be. The authors of that plugin needs to recompile the native libs with 16kb page size support.
The plugin authors needs to update their packages. They will need to update, or recompile their native libs with 16kb page size support. How developers can build native modules can vary but I have a blog post that goes over the general highlights: https://breautek.com/articles/preparing-for-16kb-android-binaries.html If the author is no longer active or maintaining the package, then there isn't much that you can do, unless if the native source code is available. If the native source code is available, then you may be able to fork the plugin and rebuild the native sources with 16kb page size support yourself. But it kinda sounds like |
Beta Was this translation helpful? Give feedback.
-
By the way, can you share how you identified the specific plugin that is using native binaries? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Yesterday, I received the following rejection on create a new app into Google Play Console.
1 Recommended Action
Recompile your app to align with the 16KB native library
The app uses native libraries that do not support devices with 16KB memory page sizes. Your app may not install or launch on these devices, or may crash after opening.
In this release, there are new app packages that are not compatible with 16KB.
Build Codes:
45321901
Android 15 supports devices with 16KB memory page sizes, which can improve app performance. We recommend that you recompile your app when migrating to Android 15 and test it in a 16KB environment to avoid issues for users.
I discovered this was due to the use of the cordova-sqlite-storage plugin. Solved by replacing it with the cordova-plugin-sqlite-2 plugin.
Is there any other solution to continue using cordova-sqlite-storage?
Beta Was this translation helpful? Give feedback.
All reactions