Skip to content

usePosition() not working in desktop safari version 13.1.1Β #22

@mantey-github

Description

@mantey-github

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions