You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version Number of Plugin: master branch of source code
Simulator Tested On: iPhone 5s iOS 10.2
Expected Behavior
If GetPositionAsync is called, the position is null, and IsListening is true the passed in CancellationToken is ignored. It is not ignored in Android though
Actual Behavior
Token is ignored so if no position shows up then the await just hangs forever
Steps to reproduce the Behavior
The device needs to be setup so it won't ever give you positions then.
GeoLocator.StartListeningAsync
//pass a cancellation token into
await GetPositionAsync
//Cancel the token and you'll see that the await still never completes
The text was updated successfully, but these errors were encountered:
Bug
Version Number of Plugin: master branch of source code
Simulator Tested On: iPhone 5s iOS 10.2
Expected Behavior
If GetPositionAsync is called, the position is null, and IsListening is true the passed in CancellationToken is ignored. It is not ignored in Android though
Actual Behavior
Token is ignored so if no position shows up then the await just hangs forever
Steps to reproduce the Behavior
The device needs to be setup so it won't ever give you positions then.
GeoLocator.StartListeningAsync
//pass a cancellation token into
await GetPositionAsync
//Cancel the token and you'll see that the await still never completes
The text was updated successfully, but these errors were encountered: