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

Support 16kb page size for Android 15+ devices #270

Open
yousrasd opened this issue Aug 1, 2024 · 1 comment
Open

Support 16kb page size for Android 15+ devices #270

yousrasd opened this issue Aug 1, 2024 · 1 comment

Comments

@yousrasd
Copy link

yousrasd commented Aug 1, 2024

New Feature

I would like for mapbox-search to support 16kb page size phones so that apps supporting sdk 35 that run on a 16kb page size phone do not crash

Why

I am encountering issues when running my app on Android 15 devices with a 16 KB page size, particularly with some native components. Are there any plans to recompile the library to address these issues and ensure compatibility with phones that have a 16 KB page size?

As stated on Android doc,

Beginning with Android 15, Android supports devices that are configured to use a page size of 16 KB (16 KB devices). If your app uses any NDK libraries, either directly or indirectly through an SDK, then you will need to rebuild your app for it to work on these 16 KB devices.

An analysis of my app using the APK Analyzer as described by Android shows that it does use libSearchCore as native code.

This is the native binary reported by the APK analysis:

  • libSearchCore
image

Additional context

Android doc: https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment

@yousrasd yousrasd changed the title Support 16kb page size for Android 15+ devices #15 Support 16kb page size for Android 15+ devices Aug 1, 2024
@barnisfar
Copy link

We need this too, please!

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

No branches or pull requests

2 participants