Mobile-UXSDK-Android icon indicating copy to clipboard operation
Mobile-UXSDK-Android copied to clipboard

MapBox v9 is deprecated

Open angel-ayala opened this issue 1 year ago • 5 comments

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.

https://github.com/mapbox/mapbox-maps-android/issues/2457

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

angel-ayala avatar Sep 05 '24 23:09 angel-ayala

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.

°°°

dji-dev avatar Sep 06 '24 11:09 dji-dev

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

angel-ayala avatar Sep 06 '24 14:09 angel-ayala

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

°°°

dji-dev avatar Sep 09 '24 08:09 dji-dev

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

mjohenneken avatar Sep 10 '24 19:09 mjohenneken

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.

°°°

dji-dev avatar Sep 11 '24 07:09 dji-dev