mapbox / mapbox/mapbox-maps-android

Type is not supported warning

Open
#2,177 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

## Environment

- Android OS version: 9
- Devices affected: Samsung Galaxy S8
- Maps SDK Version: 10.16.0

## Observed behavior and steps to reproduce

While using a mapview inside a fragment with location puck, the following warning with MapBox tag keeps appearing:
`W [Type is not supported: android.location.Location]: ValueUtils
`
## Expected behavior

It should not appear

## Notes / preliminary analysis

Was unable to find the source of the warning in the source files

## Additional links and references

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 warning with a MapView inside a fragment, the location puck enabled, Android 9, a Samsung Galaxy S8, and Maps SDK 10.16.0. Trace the Mapbox-tagged `Type is not supported: android.location.Location` warning from that setup; done means the warning no longer appears.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.