mapbox / mapbox/mapbox-maps-flutter

Theme.AppCompat do we need it?

Open
#573 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

I am not even sure what Theme.AppCompat is but when my mapbox maps loads i get this messages (the map is displayed anyways):

W/om.example.tem(14226): Accessing hidden field Landroid/graphics/Typeface;->sSystemFontMap:Ljava/util/Map; (greylist, reflection, allowed)
I/Mbgl-FontUtils(14226): Couldn't map font family for local ideograph, using sans-serif instead
E/ThemeUtils(14226): View class com.mapbox.maps.plugin.compass.CompassViewImpl is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(14226): View class com.mapbox.maps.plugin.logo.LogoViewImpl is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
E/ThemeUtils(14226): View class com.mapbox.maps.plugin.attribution.AttributionViewImpl is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).

Do I need to fix something?

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

The report names Theme.AppCompat and the Mapbox compass, logo, and attribution widgets but no repository files or tests. Start by reproducing the Android log messages in a Flutter map screen and inspect the app theme configuration; done means determining whether the messages indicate a user-visible problem and documenting or fixing the required theme setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
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.