react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Geolocation not working when debugging in Chrome

Open bretrouse opened this issue 11 years ago • 2 comments

Using the example code here: http://facebook.github.io/react-native/docs/geolocation.html#content

When debugging in Chrome permission is always denied, even when granted via the browser and the app, resulting in the below error when the simulator is not in focus

ios simulator screen shot may 9 2015 6 08 24 pm

bretrouse avatar May 09 '15 22:05 bretrouse

Increasing the timeout gives you more time to get the simulator window into focus.

bretrouse avatar May 09 '15 22:05 bretrouse

Thanks @bretrouse for the followup!

brentvatne avatar May 29 '15 21:05 brentvatne