GitToTheHub opened a new issue, #1827: URL: https://github.com/apache/cordova-android/issues/1827
# Feature Request ## Motivation Behind Feature Android 15 introduced 16kb page size support, which will be an optimization for modern devices which has much more of RAM than devices in the past, when Android was introduced. Historically, all android devices were configured to use 4KB page sizes. So when the android OS needs to create a new page of memory for an application, it will allocate 4kb of RAM for the application. Starting with [Android 15](https://developer.android.com/guide/practices/page-sizes), devices may be configured to use 16kb page sizes instead. This means these devices will be allocating larger pages, so that it can reduce the amount of pages the device needs to manage or create. (Source: https://breautek.com/articles/preparing-for-16kb-android-binaries.html) When publishing an app to the Google Play Store, it will give a warning about an app, which was not compiled for 16kb page size support: ``` 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: xxxxxxx 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. ``` To make it easier for app developers and also plugin developers to support this, there should be a preference flag, which will turn on this feature. ## Feature Description <!-- Describe your feature request in detail Please provide any code examples or screenshots of what this feature would look like Are there any drawbacks? Will this break anything for existing users? --> ## Alternatives or Workarounds <!-- Describe alternatives or workarounds you are currently using Are there ways to do this with existing functionality? --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org