PS: Currently working on some grafana weird plugins.
bujupah / dart_ipify Goto Github PK
View Code? Open in Web Editor NEWAn unofficial client library ipify on dart.
Home Page: https://pub.dev/packages/dart_ipify
License: MIT License
An unofficial client library ipify on dart.
Home Page: https://pub.dev/packages/dart_ipify
License: MIT License
I using your packages in my flutter android app. Quite often I get this error:
Exception: The request failed because it wasn't able to reach the ipify service. This is most likely due to a networking error of some sort.
This probably happens when the app is in the background. I am using this library - background_fetch .
This is my stack exception:
dart_ipify_base.dart in Ipify._send at line 160 within dart_ipify Called from: <asynchronous suspension> dart_ipify_base.dart in Ipify.ipv4 at line 54 within dart_ipify Called from: <asynchronous suspension> dart_ipify_base.dart in Ipify.geo at line 128 within dart_ipify Called from: <asynchronous suspension> app_geo.dart in AppGeo.getCountry at line 8 within myapp Called from: <asynchronous suspension> home_page.dart in _HomePageState.getCountry at line 99 within myapp Called from: <asynchronous suspension> home_page.dart in _HomePageState._onBackgroundFetch at line 111 within myapp
where can I find the cause of the error? how can I fix this error? any tips?
after I install this dart_ipify
, video_player
not working anymore, if I remove dart_ipify
, video_player
will work fine
final ipv4 = await Ipify.ipv4();
Try to get the IP, but nothing return
Thank you for the package.
I noticed the following issue in the crash reporting tool we use:
Describe the bug
Map for model As
is sometimes null
when parsing.
To Reproduce
Unsure how to reproduce, I saw the following crash log for an app:
geo.dart in new As.fromMap at line 245 within dart_ipify
geo.dart in new GeoModel.fromMap at line 56 within dart_ipify
geo.dart in new GeoModel.fromJson at line 65 within dart_ipify
dart_ipify_base.dart in Ipify.geo at line 133 within dart_ipify
Expected behavior
As
or all of its fields should be set to null and it shouldn't throw an exception.
Smartphone (please complete the following information):
Additional context
maybe ~5% of users experience it
Hie,
Your library doesnt support for flutter latest version 2.12. Can you please upgrade your library with the latest flutter sdk?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.