public void SaveLocation(UserLocation location) { _storage.Set("Ip", location.Ip.Encrypt()); _storage.Set("Country", location.Country.Encrypt()); _storage.Set("Isp", location.Isp.Encrypt()); _storage.Set("Latitude", location.Latitude.ToString(CultureInfo.InvariantCulture).Encrypt()); _storage.Set("Longitude", location.Longitude.ToString(CultureInfo.InvariantCulture).Encrypt()); }
public Task OnUserLocationChanged(UserLocation location) { _ = Update(); return(Task.CompletedTask); }