mapbox / mapbox/mapbox-navigation-android
Feedback button hide not working as espected
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
**Android API:** 30
**Mapbox Navigation SDK version:** com.mapbox.navigation:ui:1.1.2 & com.mapbox.mapboxsdk:mapbox-sdk-services:5.7.0
### Steps to trigger behavior
Use `mapboxNavigationView.retrieveFeedbackButton().hide()`
### Expected behavior
Only the feedback button disappears
### Actual behavior
The feedback disappears. But the recenter button disappears also...

### My fix
If I use `requireView().findViewById(R.id.feedbackFab).visibility = View.GONE` the recenter button is available

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue at mapboxNavigationView.retrieveFeedbackButton().hide() with Android API 30 and the reported SDK versions. Compare that behavior with hiding R.id.feedbackFab directly, and consider the issue done when only the feedback button disappears while the recenter button remains available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100