mapbox / mapbox/mapbox-maps-android

Android Auto missing visibleArea & stableArea callbacks

Aperta
#2,701 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug :beetle:
Lingua principale
Kotlin
Stelle
578
Fork
161
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Environment

- Android OS version:All with Android Auto Beta version 15.9.655104-release
- Devices affected: All with Android Auto Beta version 15.9.655104-release
- Maps SDK Version:11.14.0

## Observed behavior and steps to reproduce

VisibleArea & StableArea is not being triggered properly. Going from full screen to split screen theres no updates to these callbacks. Then going from split screen to the smallest screen theres an update to VisibleArea & StableArea but the Rect and EdgeInsets values are incorrect and it appears to always have full screen values.

This causes an issue where the navigation puck is not centered and looking out of place or not visible in all screen configurations except fullscreen

Also the actionstrips are permantly visible as well in full screen, they dont appear at all in split screen given the incorrect / not updated VisibleArea / StableArea

## Expected behavior

When switching between screen sizes in Android Auto there should always be 2 callbacks immediately, VisibleArea & StableArea triggered which should be followed by a VisibleArea call after roughly 10 seconds when actionstrips should be removed where possible

## Notes / preliminary analysis

Have noticed the same behaviour on other apps that use mapbox in Android Auto. I also tested Google Maps, Waze and Here we go (Here maps) and they all appear to still work as they should

## Additional links and references

We have a lot of Android Auto users so this is very concerning behaviour we see atm, and we do not know when Google plans to release these changes to the main production version of Android Auto

I also created a ticket with Google regarding this, but this does appear to be a mapbox only issue

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non sono indicati file sorgente né test. Inizia riproducendo le transizioni di Android Auto tra le modalità a schermo intero, diviso e con lo schermo più piccolo usando Maps SDK 11.14.0, quindi traccia la gestione dei callback VisibleArea e StableArea. Il lavoro è completo quando i callback vengono attivati con valori Rect e EdgeInsets corretti, le barre delle azioni si comportano come previsto e il puck di navigazione rimane posizionato correttamente tra le diverse dimensioni dello schermo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, kotlin
Ambito
mobile-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.