Skip to content

[Bug]: Capacitor Geolocation 7 acting different to Geolocation 6 #8030

Closed as not planned
@paulgaia

Description

@paulgaia

Capacitor Version

We have an app that specialises in location accuracy. We were testing our new release on android in airplane mode and noticed that geolocation spits out an error if the plugin is v7 but works fine if its v6. We tested exact same environment but just changed the plugin version (and obviously capacitor/core and ionic versions).

In geolocation v7, this is the error that is spit out when in airplane mode:

ERROR CapacitorException: Location settings error. at returnResult (<anonymous>:947:32) at win.androidBridge.onmessage (<anonymous>:922:21)

We will probably have to stay on V6 for now which is annoying because we now need to figure out a solution for the edge to edge issue which was easily solved with capawesome's edge to edge plugin but its only compatible with v7

Other API Details

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

n/a

Expected Behavior

n/a

Project Reproduction

n/a

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions