Git Product home page Git Product logo

PlatformException (PlatformException(IO_ERROR, A network error occurred trying to lookup the supplied coordinates (latitude: 30.867672, longitude: 122.209517)., null, null)) about flutter-geocoding HOT 14 CLOSED

baseflow avatar baseflow commented on September 13, 2024 6
PlatformException (PlatformException(IO_ERROR, A network error occurred trying to lookup the supplied coordinates (latitude: 30.867672, longitude: 122.209517)., null, null))

from flutter-geocoding.

Comments (14)

yosef406 avatar yosef406 commented on September 13, 2024 6

update.
i used the old emulator (android 30) and at first it didnt work, with the same problem, then in the imulator i turned off the wifi and it worked, and when turning back the wifi it worked again.

from flutter-geocoding.

kyawthet-naing avatar kyawthet-naing commented on September 13, 2024 3

same error

from flutter-geocoding.

cahyowhy avatar cahyowhy commented on September 13, 2024 3

hey this is still occured on xiaomi redmi note 8 pro GMS available

from flutter-geocoding.

rangerisrael avatar rangerisrael commented on September 13, 2024 1

image

from flutter-geocoding.

Scott1803 avatar Scott1803 commented on September 13, 2024

Exact same thing happened to me, did you end up finding a solution?

from flutter-geocoding.

yosef406 avatar yosef406 commented on September 13, 2024

Yes
Not sure what is the problem, but I ended up making a new android emulator(a new emulated device) with android 29 and it worked fine.

from flutter-geocoding.

lailai0715 avatar lailai0715 commented on September 13, 2024

I faced this issue also on my Huawei nova 9t real device with GMS available

from flutter-geocoding.

lailai0715 avatar lailai0715 commented on September 13, 2024

@yosef406 Can you reopen this issue again? My app will appear this issue when calling too much getCurrentPosition(). Thank you.

from flutter-geocoding.

tinvyhx avatar tinvyhx commented on September 13, 2024

Same issue ,on realy device Sony G8342 with android version 9

from flutter-geocoding.

DevTiago avatar DevTiago commented on September 13, 2024

Same here.. using Android Tiramisu API 33 x86_64.

When using Android R API 30, it works fine.

from flutter-geocoding.

kbram avatar kbram commented on September 13, 2024

try to add localeIdentifier parameter. It's working for me. like be this code.

placemarkFromCoordinates(position.latitude, position.longitude,localeIdentifier: "en");

from flutter-geocoding.

Echi4 avatar Echi4 commented on September 13, 2024

I have tried every possible solution you guys have mentioned from StackOverFlow but still can't solve the problem can you re-open this issue again and somebody please come up with a valid solution to this problem

from flutter-geocoding.

MrBooring avatar MrBooring commented on September 13, 2024

I think someone needs to handle the exception please consider this test case
if a device lost the internet connection before getting the location, then the app will stop in an exception

for the solution, I have tried connectivity_plus to check for an internet connection still am not able to handle this issue sorry I cannot provide a code for reference

from flutter-geocoding.

rangerisrael avatar rangerisrael commented on September 13, 2024

image

from flutter-geocoding.

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.