mapbox-maps-android icon indicating copy to clipboard operation
mapbox-maps-android copied to clipboard

Android Auto render issues

Open mj09 opened this issue 8 months ago • 5 comments

Environment

  • Android OS version: 15
  • Devices affected: OnePlus Nord 4
  • Maps SDK Version: 11.6.0

Observed behavior and steps to reproduce

We have some customers who at times have issues in android auto with render problems + reversed large bitmap.

Image

Unsure how to reproduce since its not a problem everyone is having. Furthermore this also appears to be a somewhat recent issue and was not something we have heard of before

Expected behavior

This is how its supposed to look like

Image

Notes / preliminary analysis

The speedometer is a BitmapWidget from com.mapbox.maps.renderer.widget

We add this widget to the map as such

fun attachWidgets(mapboxCarMapSurface: MapboxCarMapSurface, showSpeedometer: Boolean) {
        this.mapSurface = mapboxCarMapSurface.mapSurface

        with(mapboxCarMapSurface) {
            mapSurface.addWidget(logoWidget)
            if (showSpeedometer) {
                mapSurface.addWidget(speedometerWidget)
                speedometerWidget.startObservers()
            }
        }
    }

which is called when onAttached is triggered from MapboxCarMapObserver

mj09 avatar Apr 30 '25 09:04 mj09

We have one more now here Samsung Galaxy S25 Android 15 Maps SDK Version: 11.6.0

Image

I my self experience it randomly on my Pixel 7 as well....

mj09 avatar May 13 '25 07:05 mj09

We are also experiencing a similar behavior on Fairphone 5

maxrimmer avatar May 16 '25 06:05 maxrimmer

Can someone from Mapbox comment on this?

mj09 avatar May 19 '25 12:05 mj09

@natiginfo can you have a look at this?

maxrimmer avatar Jun 12 '25 10:06 maxrimmer

Hi! I created internal ticket for investigation. @maxrimmer do you have minimal example that you run on Fairphone 5 that we can try to reproduce?

natiginfo avatar Jun 13 '25 12:06 natiginfo