Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

632
Views
Getting Location on ios using Expo React native

I am trying to get Location of users using [expo][1]

This works perfectly fine on andriod but on ios I keep getting this error almost everytime.

Unhandled promise rejection: Error: Cannot obtain current location: Error Domain=kCLErrorDomain Code=0 "(null)"

I have tried everything but I am currently so confused on how to solve this issue. I've been at it for 5 days now. I have check every questions on stack overflow and other websites relating to this but none fixes the error. This is tested on a real device not using simulator. Please do you have any idea why this is happening? This is the code that I use:

await Location.getCurrentPositionAsync({})

Their are no options set because the options practically don't work at all. [1]: https://docs.expo.dev/versions/v44.0.0/sdk/location/#locationgetcurrentpositionasyncoptions

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!