You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
01-24 07:47:48.637 16782-16866/com.mapbox.navigation.examples E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
Process: com.mapbox.navigation.examples, PID: 16782
java.lang.IllegalStateException: MapboxNavigationAccounts: skuToken cannot be null or empty
at com.mapbox.navigation.core.accounts.MapboxNavigationAccounts.obtainSkuToken(MapboxNavigationAccounts.kt:51)
at com.mapbox.navigation.route.offboard.RouteBuilderProvider$getBuilder$1.intercept(RouteBuilderProvider.kt:37)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:142)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:117)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:229)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:172)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
As mentioned in #2410 (review) it's probably an issue downstream in mapboxAndroidAccounts library caused by using an API that is not available in older devices as I'm getting an empty string from
and only when running in a Nexus 5 Android 6.0.1 but not when running in a Pixel 3 Android 9.
There's a new mapbox-android-accounts version available that updates the codebase to be AndroidX compatible, we should update mapbox-navigation-accounts-android and see if that solves the issue.
Found a 💥 during testing #2410
As mentioned in #2410 (review) it's probably an issue downstream in
mapboxAndroidAccounts
library caused by using an API that is not available in older devices as I'm getting an empty string frommapbox-navigation-android/libnavigation-core/src/main/java/com/mapbox/navigation/core/accounts/MapboxNavigationAccounts.kt
Line 50 in 959ff26
There's a new
mapbox-android-accounts
version available that updates the codebase to be AndroidX compatible, we should updatemapbox-navigation-accounts-android
and see if that solves the issue.cc @abhishek1508 @mapbox/navigation-android
The text was updated successfully, but these errors were encountered: