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

MapBox v9 is deprecated #154

Open
angel-ayala opened this issue Sep 5, 2024 · 5 comments
Open

MapBox v9 is deprecated #154

angel-ayala opened this issue Sep 5, 2024 · 5 comments

Comments

@angel-ayala
Copy link

angel-ayala commented Sep 5, 2024

Hi,

I'm not able to build the apk since it gives error when try to download MapBox from Maven. Apparently, the v9.2 must be updated to v10 or higher.

mapbox/mapbox-maps-android#2457

Maps v9 are not supported anymore. Please migrate either to Maps v10 or v11.

@dji-dev
Copy link
Contributor

dji-dev commented Sep 6, 2024

Agent comment from yating.liao in Zendesk ticket #116571:

The MSDK has ceased its collaboration with Mapbox, and as a result, the UXSDK will no longer be updated or utilize Mapbox maps in the future.

°°°

@angel-ayala
Copy link
Author

Any workaround or any plan to release the code for custom patches?

@dji-dev
Copy link
Contributor

dji-dev commented Sep 9, 2024

Agent comment from yating.liao in Zendesk ticket #116571:

You can refer to this article to resolve the issue of "Could not find com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0."
For a workaround, you can look at the map widget provided by the UXSDK beta to use the new version of Mapbox to achieve the maps you need. Please note that the map widget in UXSDK beta also do not support Mapbox, but they do provide some implementation code.
https://github.com/dji-sdk/Mobile-UXSDK-Beta-Android

https://sdk-forum.dji.net/hc/en-us/articles/37229365477657-During-the-compilation-of-the-MSDK-V5-example-where-it-stated-Could-not-find-com-mapbox-mapboxsdk-mapbox-android-accounts-0-7-0-How-should-address-this

°°°

@mjohenneken
Copy link

JCenter shut down recently and the dependencies are not available. You have to setup the maven repository from mapbox to get the dependencies - Mapbox Documentation

@dji-dev
Copy link
Contributor

dji-dev commented Sep 11, 2024

Agent comment from yating.liao in Zendesk ticket #116571:

Yes, the reason for the error "Could not find com.mapbox.mapboxsdk:mapbox-android-accounts:0.7.0." is due to the closure of JCenter. We will attempt to address this issue in future version updates for the example code that is still being maintained.

It seems that there isn't a corresponding library for mapbox-android-accounts in Maven Central either. In our previous response, we provided a temporary workaround for this issue.

°°°

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

3 participants