public async Task ConnectAsync() { if (!IsConnected) { try { await _geolocator.ConnectAsync(); _geolocator.StatusChanged += geolocator_StatusChanged; _isConnected = true; } catch (Exception ex) { Log.Error(ex); } } }