usePosition() not working in desktop safari version 13.1.1
Hi, I'm trying to use your library in safari and it's not working. MacOs = Catalina Version 10.15.5
Both latitude and longitude returns undefined. Even error returns undefined
const { latitude, longitude, timestamp, accuracy, errorMessage } = usePosition(false, {
enableHighAccuracy: true,
timeout: 60000,
maximumAge: 0,
})
console.log('latitude', latitude)
console.log('longitude', longitude)
console.log('errorMessage', errorMessage)
Same problem here
Actually it is not working on any browser.
Same here. latitude, longitude, error are all undefined or null. Does anyone have a fix for this?
Just a heads up - I am using Brave but tried my app in Google (on Mac) and it prompted me to allow location services in my Mac settings. Make sure Google Chrome is checked. This solved the issue for Google Chrome but not for Brave.

@mantey-github @Gondolav @gregwinn
Is this issue still exist? it works for me
Hey @behnammodi - It works now in Brave.
@gregwinn Awesome