Closed AndriiYanechko closed 2 weeks ago
We're actively looking into it but we don't have a concrete timeline at the moment.
Our understanding is that no device with Android 15 will have 16kb enabled by default.
Moreover, as stated in https://developer.android.com/about/versions/15/behavior-changes-all#16-kb it won't be mandatory until next year:
We plan to make 16 KB page compatibility required for app uploads to the Google Play store next year.
This is implemented in v11.7.X versions. Example how to fetch it: implementation 'com.mapbox.maps:android-ndk27:11.7.1'
.
@kiryldz If we use the implementation 'com.mapbox.maps:android-ndk27:11.7.1'
, do we also still keep the implementation implementation 'com.mapbox.maps:android:11.7.1'
?
@kiryldz If we use the
implementation 'com.mapbox.maps:android-ndk27:11.7.1'
, do we also still keep the implementationimplementation 'com.mapbox.maps:android:11.7.1'
?
No, com.mapbox.maps:android-ndk27:11.7.1
should replace the default one com.mapbox.maps:android:11.7.1
. They are the same in terms of API and starting from 11.7.0 we will always release 2 variants of our SDK. It is up to users to decide which one to use.
@kiryldz If we use the
implementation 'com.mapbox.maps:android-ndk27:11.7.1'
, do we also still keep the implementationimplementation 'com.mapbox.maps:android:11.7.1'
?No,
com.mapbox.maps:android-ndk27:11.7.1
should replace the default onecom.mapbox.maps:android:11.7.1
. They are the same in terms of API and starting from 11.7.0 we will always release 2 variants of our SDK. It is up to users to decide which one to use.
I see, and except the issue described by the author above, why should someone would choose the NDK version istead of the default one? Sorry, just trying to understand as I'm getting a different crash and understand how that works in order to solve this or open a new issue.
FYI task reference here: https://github.com/mapbox/mapbox-maps-android/issues/2506
@kiryldz If we use the
implementation 'com.mapbox.maps:android-ndk27:11.7.1'
, do we also still keep the implementationimplementation 'com.mapbox.maps:android:11.7.1'
?No,
com.mapbox.maps:android-ndk27:11.7.1
should replace the default onecom.mapbox.maps:android:11.7.1
. They are the same in terms of API and starting from 11.7.0 we will always release 2 variants of our SDK. It is up to users to decide which one to use.I see, and except the issue described by the author above, why should someone would choose the NDK version istead of the default one? Sorry, just trying to understand as I'm getting a different crash and understand how that works in order to solve this or open a new issue.
There is no practical need to use NDK 27 artifacts now. However Google strongly advises SDK developers to provide NDK 27 support ASAP because in the future there will be devices on the marker which are shipped with 16 Kb page support. Maps SDK is the first Mapbox SDK that has received this support. Noting that we provide NDK 27 support in separate artifacts as in theory misaligned NDKs in end user application might lead to runtime issues.
New Feature
I'm encountering an issue when I'm running the app on the Android 15 with 16 KB page size and see some native issues. Is there any plans to recompile library to resolve this issue ?
https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment
Why