mapbox / mapbox/mapbox-maps-android
GetPlugin(Plugin.LocationComponentPlugin) returns null after adding Navigation SDK
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
**Environment**
* **Platform**: .NET MAUI (binding library)
* **Mapbox Maps SDK version**: `11.15.0`
* **Mapbox Navigation SDK version**: `3.12.0`
* **Setup**: Custom binding library consuming `.aar` and `.jar` dependencies
---
### Issue
When using **only Mapbox Maps SDK**, calling:
```csharp
var locationComponent = mapView.GetPlugin();
```
returns a valid instance of the location component.
However, **after adding the Navigation SDK (`3.12.0`) AARs/JARs**, the same call always returns `null`.
This causes the location puck and location updates to stop working in our MAUI binding project.
---
Could you confirm if additional initialization is now required for the location plugin when using Navigation SDK + Maps SDK, or if this is a regression?
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
Reproduce the difference between Maps SDK alone and Maps SDK plus Navigation SDK 3.12.0 using GetPlugin() and the listed AAR/JAR setup. Check the Maps and Navigation plugin initialization requirements and dependency interaction; done means determining whether extra initialization is required or confirming a regression with a minimal reproduction.
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
- Mostly clear
- Newbie friendliness
- 35/100