Android Auto render issues
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.
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
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
We have one more now here Samsung Galaxy S25 Android 15 Maps SDK Version: 11.6.0
I my self experience it randomly on my Pixel 7 as well....
We are also experiencing a similar behavior on Fairphone 5
Can someone from Mapbox comment on this?
@natiginfo can you have a look at this?
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?