GithubHelp home page GithubHelp logo

Comments (11)

oakis avatar oakis commented on May 18, 2024

Do you supply the coordinates to the emulator?

from react-native-geolocation-service.

lastpeony avatar lastpeony commented on May 18, 2024

enablehighaccuracy causes the problem.after disabling it it is working fine in acttualy device

from react-native-geolocation-service.

oakis avatar oakis commented on May 18, 2024

Sounds like you don´t have Google Play on your phone, and its falling back to the default RN behavior.

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 18, 2024

Probably a device specific issue, see the FAQ section for details. Many devices have faulty GPS which does not work properly. Just in case, test it again outdoor and see if it works.

from react-native-geolocation-service.

lastpeony avatar lastpeony commented on May 18, 2024

another problem i found in react native geolocation is ( with this package and default navigator one ) its not working at all indoors.I used to develope in native android and geolocation was working fine indoors.Any idea ?

from react-native-geolocation-service.

lastpeony avatar lastpeony commented on May 18, 2024

this is unstable just like navigators geolocation.Sometimes there is no problem sometimes location time out error.

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 18, 2024

This library is just a wrapper around google play service's FusedLocationProvider API. I still believe it's a device specific issue, since I still haven't faced any timeout issue on my phone (Redmi Note 3). I can be wrong of course.

I don't have any solution to this problem right now. If you can figure something out let me know, or make a PR.

from react-native-geolocation-service.

oakis avatar oakis commented on May 18, 2024

I have never had a timeout issue on my phone either (OnePlus 1 & 3). I use my app almost every day.

from react-native-geolocation-service.

Agontuk avatar Agontuk commented on May 18, 2024

Closing due to inactivity.

from react-native-geolocation-service.

wangdanting avatar wangdanting commented on May 18, 2024

Chinese should 'FanQiang'。

from react-native-geolocation-service.

idanhaviv avatar idanhaviv commented on May 18, 2024

on android several solutions worked for me:

  1. set enableHighAccuracy to false
  2. on one emulator - opening google maps app solved the location issue for my app
  3. on a different emulator - restarting the emulator by a long press on the shut down button (regular shut down didn't work)

Screen Shot 2020-03-04 at 19 27 22

from react-native-geolocation-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.