Skip to content
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

recompile objectbox with the new ndk and enable 16k page support #1178

Open
andrew-ld opened this issue May 16, 2024 · 5 comments
Open

recompile objectbox with the new ndk and enable 16k page support #1178

andrew-ld opened this issue May 16, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@andrew-ld
Copy link

andrew-ld commented May 16, 2024

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

@andrew-ld andrew-ld added the enhancement New feature or request label May 16, 2024
@greenrobot
Copy link
Member

Thanks for bringing this to our attention. Did you try to run ObjectBox on Android 15 yet?

@andrew-ld
Copy link
Author

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.

@greenrobot-team
Copy link
Member

greenrobot-team commented May 21, 2024

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.)

@andrew-ld
Copy link
Author

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

@greenrobot
Copy link
Member

Btw, it's an interesting move. Apple also went with 16K pages for iOS. (ObjectBox supports this for quite a while.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants