Hello, im having some trouble with the errorMessage event.
this is the code:
if event.errorCode then native.setActivityIndicator( false ) native.showAlert( "GPS Location Error","turn on location data", {"OK"} , onCloseApp) end
but i only get the error if i have location data on and then decline access from the app. However if i turn location data off completely i get a message saying something like “turn on location data for your app to work” with the options “go to location data” “cancel”
If i press cancel at this point i dont get the error. Why?