-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Event registration is overwriting existing delegate on iOS #322
Comments
jelknab
added a commit
to jelknab/FamilieWandelPad
that referenced
this issue
Apr 3, 2020
@FIELDPOINT I have the same issue.. Have you been able to solve this? |
No it seems to be an issue only in the newer version so I reverted. |
@FIELDPOINT Thanks, I did the same, its working now. |
I'm having this problem. The issue is on the newer version of what? What do I need to revert? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling
Position posPosition = await CrossGeolocator.Current.GetPositionAsync(TimeSpan.FromSeconds(5), null, true);
throws this error
Event registration is overwriting existing delegate. Either just use events or your own delegate: Plugin.Geolocator.GeolocationSingleUpdateDelegate CoreLocation.CLLocationManager+_CLLocationManagerDelegate
Does not happen if I keep everything same and revert back to 4.5.3 Beta. And does not happen on Android even with the 4.6.2 Beta.
Version Number of Plugin:
Device Tested On: 4.6.2 Beta
Simulator Tested On:
Version of VS: 16.4.4
Version of Xamarin: 4.5.0.356
Versions of other things you are using:
Steps to reproduce the Behavior
Just call
Position posPosition = await CrossGeolocator.Current.GetPositionAsync(TimeSpan.FromSeconds(5), null, true);
Expected Behavior
posPosition should either be null or populated with position details.
Actual Behavior
Throws an exception
Code snippet
Screenshotst
The text was updated successfully, but these errors were encountered: