Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When called Geolocation.getCurrentPosition() resolves with empty object #2106

Open
naresh33 opened this issue May 15, 2024 · 2 comments
Open

Comments

@naresh33
Copy link

naresh33 commented May 15, 2024

Bug Report

Plugin(s)

Screenshot 2024-05-15 at 3 39 04 PM

@awesome-cordova-plugins/geolocation: ^6.4.0
@capacitor/geolocation: ^6.0.0
@awesome-cordova-plugins/native-geocoder: ^6.4.0
cordova-plugin-nativegeocoder: ^3.5.1

Screenshot 2024-05-15 at 3 40 32 PM

Platform(s)

Android

Version:
To be specific Android 14 - UpsideDownCakePrivacySandbox

await Geolocation.getCurrentPosition() is returning empty options object.

@Gollm
Copy link

Gollm commented Jun 7, 2024

I can confirm the behavior, but have not yet been able to determine the exact cause.

The fact is that since the update to version 6, the geolocation is often null on Android devices and this leads to errors in my system.

Of the packages mentioned above, I only have
@capacitor/geolocation: 6.0.0
implemented

@Ionitron
Copy link
Collaborator

Ionitron commented Jun 7, 2024

This issue needs more information before it can be addressed.
In particular, the reporter needs to provide a minimal sample app that demonstrates the issue.
If no sample app is provided within 15 days, the issue will be closed.

Please see the Contributing Guide for how to create a Sample App.

Thanks!
Ionitron 💙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants