recompile objectbox with the new ndk and enable 16k page support
andrew-ld opened this issue · comments
android 15 have a breaking changes for all applications, it require the support for 16k page
https://developer.android.com/about/versions/15/behavior-changes-all#16-kb
Thanks for bringing this to our attention. Did you try to run ObjectBox on Android 15 yet?
yes, I tried with some pixels I have as test devices, it works but only because the kernel is not compiled with 16k memory pages, when a version with 16k pages should not work anymore.
Some more details for us:
https://developer.android.com/guide/practices/page-sizes
As device manufacturers continue to build devices with larger amounts of physical memory (RAM), many of these devices will adopt 16 KB
We plan to make 16 KB page compatibility required for app uploads to the Google Play store next year.
Also this sounds like it will only impact new devices?
(Edit: there is an internal issue for this objectbox/objectbox-java#214
.)
i opened this issue to be able to get compatibility with this new google requirement as soon as possible, so even apps that i will possibly not maintain in the future will remain compatible with this new requirement
Btw, it's an interesting move. Apple also went with 16K pages for iOS. (ObjectBox supports this for quite a while.)