getLocation = async () => {
try {
const response = await Location.requestPermissionsAsync();
console.log(response)
const location = await getCurrentPositionAsync();
console.log(location)
} catch (error) {
Alert.alert("Не могу определить местоположение", "Грустно... :(")
}
}