Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoLocation Library not present in most recent version #25499

Closed
Grapetoast opened this issue Jul 4, 2019 · 1 comment
Closed

GeoLocation Library not present in most recent version #25499

Grapetoast opened this issue Jul 4, 2019 · 1 comment
Labels
API: Geolocation Bug Resolution: Locked This issue was locked by the bot.

Comments

@Grapetoast
Copy link

React Native version: 0.60.0

Steps To Reproduce

  1. react-native init test
  2. edit pods to include geolocation
  3. atempt pod install
  4. observe error due to inability to find Geolocation node_module
  5. check '../node_modules/react-native/Geolocation
  6. The library is not present

Describe what you expected to happen:

  1. react-native init test
  2. edit pods to include geolocation
  3. atempt pod install
    4.pod installs correctly
  4. navigator.geolocation.getCurrentPosition should not error
@matt-oakes
Copy link
Contributor

This module has been extracted out to here as part of Lean Core. This was due to an issue where Apple was rejecting apps which declared privacy requirement strings (like for location), but didn't actually use them.

Follow the instructions in the project linked above to migrate to the new library. All of the API and the code is identical.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 4, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Geolocation Bug Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants