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

Crash #1

Open
lbolanos opened this issue Sep 16, 2020 · 0 comments
Open

Crash #1

lbolanos opened this issue Sep 16, 2020 · 0 comments

Comments

@lbolanos
Copy link

Running BetterGeolocator on different activities result in this

Geolocator.StopLocationUpdate (BetterGeolocator.GeolocationStatus status)

System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Android.Locations.LocationManager'.

JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self)
JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters)
LocationManager.RemoveUpdates (Android.Locations.ILocationListener listener)
Geolocator.StopLocationUpdate (BetterGeolocator.GeolocationStatus status)
Geolocator.UpdateLocation (Android.Locations.Location location)
Geolocator.OnLocationChanged (Android.Locations.Location location)
ILocationListenerInvoker.n_OnLocationChanged_Landroid_location_Location_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_location)

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