Hello,
We've been seeing a very sporadic issue on iOS when an app starts the location data source resulting in an unhandled exception. It's only happened a few times but we'd like to get to the bottom of it. We're not sure where it is coming from so we figured we post something here to see if anyone had any ideas.
Any input would be greatly appreciated.
Here's the exception and stack trace we get when the error occurs:
Invalid argument: location data source has been started.
ArcGISException.HandleCoreError (RuntimeCoreNet.GeneratedWrappers.CoreError error, System.Boolean throwException)
Interop.CheckError (System.IntPtr errorHandle, System.Boolean throwOnFailure, System.Runtime.InteropServices.GCHandle wrapperHandle)
CoreLocationDataSource.HandleStart (RuntimeCoreNet.GeneratedWrappers.CoreClientReference userDefinedError)
ICoreCallback_LocationDataSource_StartCallback.StartCallback ()
AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state)
NSAsyncSynchronizationContextDispatcher.Apply ()
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate)
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName)
Application.Main (System.String[] args)