Removed old dependency of MapBox V9.x.x

This commit is contained in:
Jackson Rosenthal 2022-02-05 22:28:14 -05:00
parent b5a09d502a
commit f4bfcb85f7
2 changed files with 3 additions and 8 deletions

View file

@ -165,10 +165,7 @@ dependencies {
implementation 'com.github.mik3y:usb-serial-for-android:3.4.3'
// mapbox
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.1'
implementation('com.mapbox.maps:android:10.2.0') {
exclude group: 'com.mapbox.mapboxsdk', module: 'mapbox-android-telemetry'
}
implementation('com.mapbox.maps:android:10.2.0')
// mapbox specifies a really old version of okhttp3 which causes lots of API warnings. trying a newer version
implementation 'com.squareup.okhttp3:okhttp:4.9.0'

View file

@ -7,8 +7,8 @@ import com.geeksville.android.GeeksvilleApplication
import com.geeksville.android.Logging
import com.geeksville.util.Exceptions
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.mapbox.mapboxsdk.Mapbox
import com.mapbox.maps.loader.MapboxMaps
import com.mapbox.maps.plugin.Plugin
class MeshUtilApplication : GeeksvilleApplication() {
@ -50,7 +50,5 @@ class MeshUtilApplication : GeeksvilleApplication() {
sendCrashReports() // Send the new report
}
}
Mapbox.getInstance(this, getString(R.string.mapbox_access_token))
}
}