mapbox / mapbox/mapbox-navigation-android-examples

Android Auto Black Screen

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
65
Forks
56
Avg merge
1d 4h
Merged PRs (30d)
2

Description

I'm trying to integrate Android Auto into my application. Normally the first screen of my application is splashScreen. When I try to open my application with splashScreen, the map is not loaded in Android Auto and it remains on a black screen. What is the reason?

image

But when I try to start it with the mainActivity in the mapbox navigation example, the map is loaded into android auto.

image

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 comparing the splashScreen launch path with mainActivity in the Mapbox navigation example and reproduce the Android Auto black screen. Trace the Android Auto startup and map-loading behavior to identify the cause; done means documenting a confirmed explanation and a reproducible fix or workaround.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.