[Geolocation] navigator.geolocation.getCurrentPosition doesn't get executed first time it is called
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?
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-nativeor 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!
This was recently fixed with the following commit. https://github.com/facebook/react-native/commit/f48dbbecd658123e6fdaacf1b5762692d4d1d7f5
Great. Thanks!