Skip to content

GetPlugin(Plugin.LocationComponentPlugin) returns null after adding Navigation SDK #2677

@JiteshNarang1008

Description

@JiteshNarang1008

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:

var locationComponent = mapView.GetPlugin<LocationComponentPlugin>();

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions