Skip to content

Remove MapboxV10 constant and dead code#4166

Merged
mfazekas merged 2 commits intomainfrom
cleanup/remove-mapbox-v10-constant
Mar 1, 2026
Merged

Remove MapboxV10 constant and dead code#4166
mfazekas merged 2 commits intomainfrom
cleanup/remove-mapbox-v10-constant

Conversation

@mfazekas
Copy link
Contributor

@mfazekas mfazekas commented Mar 1, 2026

MapboxV10 was always hardcoded to true on both iOS and Android (it really means "v10 or later"). This removes all internal dead code branches that checked it. The exported constant itself is kept for backwards compatibility but marked as deprecated.

Closes #4131

MapboxV10 was always hardcoded to true on both platforms. Remove the
constant and all conditional branches that checked it, simplifying the
codebase. Closes #4131.
The constant actually means "v10 or later" and is always true. Keep it
for backwards compatibility but mark as deprecated.
@mfazekas mfazekas merged commit d061296 into main Mar 1, 2026
7 checks passed
@mfazekas mfazekas deleted the cleanup/remove-mapbox-v10-constant branch March 1, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Mapbox.MapboxV10 is always true

1 participant