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

Geolocator fails on WinRT Phone 8.1 #60

Closed
RandomEngy opened this issue Apr 26, 2015 · 3 comments
Closed

Geolocator fails on WinRT Phone 8.1 #60

RandomEngy opened this issue Apr 26, 2015 · 3 comments

Comments

@RandomEngy
Copy link

I'm getting an exception thrown from CrossGeolocator.Current on a Windows Phone RT 8.1 app:

Operation aborted

You must set the MovementThreshold property or the ReportInterval property before adding event handlers.

This is with the Location capability for the app enabled.

@jamesmontemagno
Copy link
Owner

Fixed in 1.0.2

@RandomEngy
Copy link
Author

Thanks!

@ZeAleks
Copy link

ZeAleks commented Mar 1, 2017

I'm getting the same exception here when my app is resuming and I try to start listening again.

'locator.DesiredAccuracy = 5' threw an exception of type 'System.Exception'
Data: {System.Collections.ListDictionaryInternal}
HResult: -2147467260
HelpLink: null
InnerException: null
Message: "Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))"
Source: "Windows"
StackTrace: " at Windows.Devices.Geolocation.Geolocator.put_DesiredAccuracy(PositionAccuracy value)\r\n at Plugin.Geolocator.GeolocatorImplementation.set_DesiredAccuracy(Double value)"

Did I miss something ?

Thank you
Alek

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

3 participants