mapbox / mapbox/mapbox-maps-android
Android Auto missing visibleArea & stableArea callbacks
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Kotlin
- Sterne
- 578
- Forks
- 161
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## 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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Keine Quelldatei oder kein Test ist angegeben. Beginne damit, die Android Auto-Übergänge zwischen dem Vollbild-, dem geteilten und dem Modus für den kleinsten Bildschirm mit Maps SDK 11.14.0 nachzustellen, und verfolge anschließend die Verarbeitung der VisibleArea- und StableArea-Callbacks. Als abgeschlossen gilt, dass Callbacks mit korrekten Rect- und EdgeInsets-Werten ausgelöst werden, sich Aktionsleisten wie erwartet verhalten und der Navigations-Puck über verschiedene Bildschirmgrößen hinweg korrekt positioniert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, kotlin
- Bereich
- mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100