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

[Geolocation] navigator.geolocation.getCurrentPosition doesn't get executed first time it is called

Open daesan opened this issue 10 years ago • 3 comments

I've upgraded from RN 0.16.0 to 0.17.0-rc and navigator.geolocation.getCurrentPosition() doesn't get executed any more.

However, if I insert "navigator.geolocation.getCurrentPosition(()=>null, ()=>null)" before the actual call, it does get executed. Maybe this is related to new lazy loading feature?

daesan avatar Dec 17 '15 01:12 daesan

Hey daesan, thanks for reporting this issue!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. There are just too many issues for us to manage properly.

  • If you don't know how to do something or not sure whether some behavior is expected or a bug, please ask on StackOverflow with the tag react-native or for more real time interactions, ask on Discord in the #react-native channel.
  • If this is a feature request or a bug that you would like to be fixed, please report it on Product Pains. It has a ranking feature that lets us focus on the most important issues the community is experiencing.
  • We welcome clear issues and PRs that are ready for in-depth discussion. Please provide screenshots where appropriate and always mention the version of React Native you're using. Thank you for your contributions!

facebook-github-bot avatar Dec 17 '15 01:12 facebook-github-bot

This was recently fixed with the following commit. https://github.com/facebook/react-native/commit/f48dbbecd658123e6fdaacf1b5762692d4d1d7f5

christopherdro avatar Dec 17 '15 01:12 christopherdro

Great. Thanks!

daesan avatar Dec 17 '15 02:12 daesan