mapbox / mapbox/mapbox-navigation-android

google api dependency failure

Open
#6,713 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

**Android API: 33**
**Mapbox Navigation SDK version: 2.9.3**

### Steps to trigger behavior

1. build app with the dependency of implementation 'com.google.android.gms:play-services-location:21.0.1'
2. start a navigation session with the Navigation-ui sdk version 2.9.3
3. issue/error is encountered before the navigation session begins

### Expected behavior
Current versions of Mapbox Navigation-ui works with the current version of 'com.google.android.gms:play-services-location:21.0.1'

### Actual behavior
app build is successful but starting a navigation session fails with the following issue:
//////////////ISSUE WITH 21.0.0 and 21.0.1 WITH FusedLocationProviderApi and FusedLocationProviderClient in Mapbox 2.9.3
implementation 'com.google.android.gms:play-services-location:21.0.1'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with Android API 33, Mapbox Navigation SDK 2.9.3, Navigation UI 2.9.3, and play-services-location 21.0.1. Inspect the complete build or runtime error involving FusedLocationProviderApi or FusedLocationProviderClient. Done means a navigation session starts successfully with the reported Google Play Services dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.