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

Compatibility Android 11 #344

Open
SSoetaert opened this issue Mar 9, 2021 · 0 comments
Open

Compatibility Android 11 #344

SSoetaert opened this issue Mar 9, 2021 · 0 comments

Comments

@SSoetaert
Copy link

Bug Information

Version Number of Plugin: 4.5.0.6
Device Tested On: Google Pixel 3A
Simulator Tested On: /
Version of VS: 16.6.2
Version of Xamarin: 4.4.0.991537
Versions of other things you are using: Android version 11

Steps to reproduce the Behavior

Start app and fetch current location on button click

Expected Behavior

The current position gets returned.

Actual Behavior

Statement always gives null after couple of seconds

Code snippet

var currentPosition = await CrossGeolocator.Current.GetPositionAsync(TimeSpan.FromSeconds(30), null, false);

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

No branches or pull requests

1 participant