Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

629
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda