DEV Community

Discussion on: How to get user’s location with React JS

Collapse
chattes profile image
Sourav Chatterjee

In safari , we can call
navigator.geolocation.getCurrentPosition(success, errors, options).
Tested and working in mac.