Coder Social home page Coder Social logo

[Regression]: on version 10.1.0 with android getCurrentPosition takes at least 30 seconds to load. I tried ^8.2.0 and it takes only 0.02s about flutter-geolocator HOT 12 CLOSED

tomasbutkevicius avatar tomasbutkevicius commented on June 10, 2024 3
[Regression]: on version 10.1.0 with android getCurrentPosition takes at least 30 seconds to load. I tried ^8.2.0 and it takes only 0.02s

from flutter-geolocator.

Comments (12)

sulaimanpgm avatar sulaimanpgm commented on June 10, 2024 2

I have the same problem.

from flutter-geolocator.

eb-so avatar eb-so commented on June 10, 2024 1

I'm also on 10.1.0
My device is Redmi 8 and it hangs forever
I noticed the issue only after I upgraded to flutter 3.16.5
I tried changing the settings from high to medium but still seeing the issue
Note: the issue doesn't appear on my emulator Pixel_3_API_30

from flutter-geolocator.

mvanbeusekom avatar mvanbeusekom commented on June 10, 2024 1

Hi @tomasbutkevicius, @eb-so,

Thank you for helping out and @eb-so for confirming that the safe_device plugging is the cause. For now I will close this issue, however I will keep an close eye on it and see if there is anything we can do to improve the situation.

In the meantime, if you have any additional information or feel this issue should not be closed, feel free to leave a comment with argumentation and I would be happy to reconsider and if necessary re-open the issue.

from flutter-geolocator.

GustavoFigueira avatar GustavoFigueira commented on June 10, 2024

Same here, I've tested on two devices:

1 - Moto G54: almost instantly
2 - Realme 8 Pro: takes about 4-5 seconds

from flutter-geolocator.

TimHoogstrate avatar TimHoogstrate commented on June 10, 2024

Dear @tomasbutkevicius,

For now I cannot reproduce this. However, I noticed that you added a required location accuracy "best". Could something be interfering with your location determination. Is it also happening if you play a bit with the location settings?

Kind regards,

from flutter-geolocator.

mvanbeusekom avatar mvanbeusekom commented on June 10, 2024

Hello @tomasbutkevicius, @GustavoFigueira , @eb-so,

This problem has been reported before (see #1243) and several developers confirmed the issue being related to the use of the "safe_device" plugin. Could you confirm if this is also the case for you?

from flutter-geolocator.

tomasbutkevicius avatar tomasbutkevicius commented on June 10, 2024

@mvanbeusekom hello, I can't check right now but I do use safe_device plugin

from flutter-geolocator.

tomasbutkevicius avatar tomasbutkevicius commented on June 10, 2024

changing the accuracy did nothing

from flutter-geolocator.

eb-so avatar eb-so commented on June 10, 2024

@mvanbeusekom Sorry for the late response but that's true the safe_device plugging was the issue, kind of weird behavior.

Thanks for the help 🙏

from flutter-geolocator.

tomasButkeviciusAdapt avatar tomasButkeviciusAdapt commented on June 10, 2024

Thank you for your attention and work guys! But I am wondering why close the issue if it's not resolved? I would prefer to leave the issue and when you resolve it then you can close because now it would be like ignoring this, would it not? Also keeping this issue open could be a reminder of what needs to be fixed?

from flutter-geolocator.

eb-so avatar eb-so commented on June 10, 2024

@tomasbutkevicius Maybe it's safe_device package issue, I'm now using root_jailbreak_sniffer as a replacement with no problems

from flutter-geolocator.

mvanbeusekom avatar mvanbeusekom commented on June 10, 2024

@tomasButkeviciusAdapt, I have closed the issue because I strongly suspect the issue is not related to geolocator but as @eb-so also mentions with the safe_device plugin.

from flutter-geolocator.

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.