Comments (2)
Can you try to execute:
flutter clean
and then build your project?
from flutter-geolocator.
@lroige, as @audkar mentioned running flutter clean
should solve this problem. Here is what (most probably) happened:
- Yesterday we release version 1.6.0 of the Geolocator;
- In your
pubspec.yaml
you probably registered the dependency to the Geolocator plug-in asgeolocator: '^1.5.0'
(meaning all version bigger then 1.5.0 and smaller then 2.0.0);
So when we released version 1.6.0, Flutter automatically updated the Geolocator package in your project. Unfortunately when updating the package the cache is not updated and still holds a reference to the 1.5.0 version causing the conflict you experienced. Running the flutter clean
command will reset the cache and make sure the new version will be cached resolving your problem.
from flutter-geolocator.
Related Issues (20)
- getPositionStream gets cancel when an error occurred even when cancelOnError=false
- [Bug]: ANR triggered by thread waiting for a binder transaction
- [Bug]: getServiceStream only works when enable the Location Service on IOS
- [Question]: How to be smoother when i'm displaying my marker in driver mode?
- Support HarmonyOS HOT 1
- [Question]: HOT 3
- [Bug]: Distance not registered on Google Pixel 6a – Android 14, using Geolocator.getPositionStream HOT 3
- [Bug]: Fatal Exception when running on Android SDK < 29 HOT 2
- [Question]: How to interpret the value of Accuracy? HOT 1
- [Enhancement proposal]: move non-flutter models to new package HOT 1
- [Feature Request]: Switch to package:web to support wasm compilation HOT 2
- [Bug]: Windows suddenly not giving right location HOT 1
- [Bug]: App crashes when calling getCurrentPosition() HOT 12
- geolocator_android deprecated issues HOT 7
- [Bug]: Requires newer version of Kotlin Gradle Plugin HOT 22
- [Bug]: requestPermission Future never resolves, when application goes to background, when "Allow to use location" popup is displayed
- [Bug]: Geolocator.getPositionStream().listen causes a crash when user choses to only share approximate location on permission dialog HOT 2
- [Question]: getCurrentPosition not working on iOS Testflight HOT 10
- [Question]: Using IOS background location update but the gps keeps drifting
- [Question]: how can start when i cancel and restart HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-geolocator.