mapbox / mapbox/mapbox-maps-flutter

Android Attribution Dialog Issue: Fails to Open Browser Upon Selection

Open
#399 2 comments 3 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

Hello,

I've encountered an issue with the Mapbox Maps integration within my Flutter-based application, specifically on the Android platform. When interacting with the attribution "i" icon present on the map, a dialog appears as expected, presenting various options. However, upon selecting any of these options, the dialog simply closes without proceeding to open the browser, which is the intended behavior. This issue is not present in the iOS version of the application, where selecting an option from the attribution dialog successfully launches the browser as intended.

To ensure this was not an isolated issue within my application, I also tested this behavior using the provided example application within this package. Unfortunately, the issue persists identically there, indicating it may be a broader issue with the Android implementation of the attribution dialog within this Flutter package.

Could you please look into this matter? Opening the browser from the attribution dialog options is crucial for maintaining the functionality and compliance of the application.

Thank you for your attention to this issue.

![image](https://github.com/mapbox/mapbox-maps-flutter/assets/45821082/e0c3c89b-df74-47dc-9c9d-0cd92e0954b0)
![image](https://github.com/mapbox/mapbox-maps-flutter/assets/45821082/335b7b01-25ae-4412-a5c4-d3ff31be02e9)

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 reproducing the issue in the provided example application, using the Android attribution dialog and selecting each option. Compare the Android behavior with the working iOS behavior and trace the Android implementation of the attribution dialog. Done means every attribution option opens the intended browser destination on Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.