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

Request: Provide precompiled version with ndk >= 23 #7565

Open
santitopo opened this issue Oct 17, 2023 · 9 comments
Open

Request: Provide precompiled version with ndk >= 23 #7565

santitopo opened this issue Oct 17, 2023 · 9 comments

Comments

@santitopo
Copy link

Hello! I'm opening this issue after this previous discussion in the Expo repository.

Long story short, I'm trying to create an Expo module in order to use Mapbox Navigation in an Expo-managed React Native app (by wrapping Android and iOS native sdks). In iOS I got it working, but in Android I'm experiencing a crash on runtime, when attempting to render the most minimal example of your drop-in UI (a very basic NavigationView).

I tried reproducing the error in a clean Android project and it obviously doesn't happen (here's a repo with the minimal code working), so that led me to think the issue was related to some incompatibility between Expo/React Native and the Android Mapbox Nav sdk.

@kudo checked out the issue and suggested that the incompatibility could have to do with the fact that this library is prebuilt with ndk r21, which is incompatible with ndk r23 in React Native 0.72 / expo sdk 49.

relevant code

that AGP 7.2.2 is still using ndk r21 by default.

My request then (and I'm probably speaking for the whole React Native/Expo community here 😅) is if it could be possible to provide a precompiled version with a higher ndk, or provide some other solution.

Thanks a lot in advance and hope that we can come to a solution together! I've seen plenty of devs out there wanting to use this sdk through the years 🙌 (#1312, homeeondemand/react-native-mapbox-navigation#112, #1652, #2441, https://github.com/homeeondemand/react-native-mapbox-navigation, and more 😄 )

Android API: Any
Mapbox Navigation SDK version: 2.16

@santitopo
Copy link
Author

Probably related with mapbox/mapbox-maps-android#1697 👀

@santitopo
Copy link
Author

Definitely related with #6929

@doiska
Copy link

doiska commented Jan 26, 2024

Any update on this? It's been a deal breaker for me. Thank you guys!

@j-fro
Copy link

j-fro commented Feb 13, 2024

This is a major blocker for us too - hoping for an update here. Thanks!

@ismael-su
Copy link

2 of our clients had to drop react native expo because of this problem, please mapbox, do something.
Is there any way to reach someone on the core dev team at mapbox ?

@jmysliv
Copy link

jmysliv commented Feb 19, 2024

We are having the same issue.

@LukasPaczos do you plan to bump NDK to 23 in the near future?

@LukasPaczos
Copy link

Hey everyone! The Navigation SDK Core Framework, which is an evolution of the Navigation SDK v2 and currently in a public preview pre-release, is built with NDK 23 and should hopefully resolve the issues you're running into.

The pre-release version of the Navigation SDK Core Framework does not come with the Drop-In UI but the base, non-UI capabilities are available so you could give it a try while we're ramping up towards a stable release. Check out a migration guide here.

@santitopo
Copy link
Author

Hey everyone! The Navigation SDK Core Framework, which is an evolution of the Navigation SDK v2 and currently in a public preview pre-release, is built with NDK 23 and should hopefully resolve the issues you're running into.

The pre-release version of the Navigation SDK Core Framework does not come with the Drop-In UI but the base, non-UI capabilities are available so you could give it a try while we're ramping up towards a stable release. Check out a migration guide here.

Hey! Great news ! Thanks for letting us know. Is there a plan to also release the drop in ui compiled with NDK 23 at some point? Or are you dropping support for it?

@boudewijnv
Copy link

Looks like there is a public preview available for Mapbox Navigation SDK UX Framework as well.

The pre-release version of the Navigation SDK Core Framework does not come with the Drop-In UI but the base, non-UI capabilities are available so you could give it a try while we're ramping up towards a stable release. Check out a migration guide here.

@LukasPaczos that is good news. Do you have any clue about the timeline? Do you expect a stable release in weeks, months or longer?

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

7 participants