mapbox / mapbox/mapbox-search-android
Suupport 16kb page size for Android 15+ devices for all architectures
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 39
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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 For all architecture currently only 2 are supported it seems
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](https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment),
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](https://developer.android.com/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](https://developer.android.com/guide/practices/page-sizes#16-kb-impact) shows that it does use libSearchCore as native code.
This is the native binary reported by the APK analysis:
libSearchCore
Additional context
Android doc: https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Android 15 16 KB page-size and NDK alignment guidance linked in the issue, then inspect how the libSearchCore native binary is packaged for each architecture. Verify the resulting SDK on 16 KB Android devices or with APK Analyzer; done means supported architectures no longer crash on those devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100