Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I found a bug, please fix it. Thank you. #1000

Open
richardparulian opened this issue Oct 11, 2024 · 1 comment
Open

I found a bug, please fix it. Thank you. #1000

richardparulian opened this issue Oct 11, 2024 · 1 comment

Comments

@richardparulian
Copy link

I'am using Dart version 3.5.3, Flutter version 3.24 & Location version 6.0.2 received a log like this:

warning: [deprecation] PRIORITY_NO_POWER in LocationRequest has been deprecated put(0, LocationRequest.PRIORITY_NO_POWER);

warning: [deprecation] PRIORITY_LOW_POWER in LocationRequest has been deprecated put(1, LocationRequest.PRIORITY_LOW_POWER);

warning: [deprecation] PRIORITY_BALANCED_POWER_ACCURACY in LocationRequest has been deprecated put(2, LocationRequest.PRIORITY_BALANCED_POWER_ACCURACY);

warning: [deprecation] PRIORITY_HIGH_ACCURACY in LocationRequest has been deprecated put(3, LocationRequest.PRIORITY_HIGH_ACCURACY);

warning: [deprecation] PRIORITY_HIGH_ACCURACY in LocationRequest has been deprecated put(4, LocationRequest.PRIORITY_HIGH_ACCURACY);

warning: [deprecation] PRIORITY_LOW_POWER in LocationRequest has been deprecated put(5, LocationRequest.PRIORITY_LOW_POWER);

warning: [deprecation] isFromMockProvider() in Location has been deprecated if (location.isFromMockProvider())

warning: [deprecation] create() in LocationRequest has been deprecated mLocationRequest = LocationRequest.create();

warning: [deprecation] setInterval(long) in LocationRequest has been deprecated mLocationRequest.setInterval(this.updateIntervalMilliseconds);

warning: [deprecation] setFastestInterval(long) in LocationRequest has been deprecated mLocationRequest.setFastestInterval(this.fastestUpdateIntervalMilliseconds);

warning: [deprecation] setPriority(int) in LocationRequest has been deprecated mLocationRequest.setPriority(this.locationAccuracy);

warning: [deprecation] setSmallestDisplacement(float) in LocationRequest has been deprecated mLocationRequest.setSmallestDisplacement(this.distanceFilter);

warning: [deprecation] Long(long) in Long has been deprecated final Long updateIntervalMilliseconds = new Long((int) call.argument("interval"));

warning: [deprecation] Float(double) in Float has been deprecated final Float distanceFilter = new Float((double) call.argument("distanceFilter"));

if i using location version 7.0.0 log like this:

Because no versions of file_picker match >8.1.2 <9.0.0 and file_picker 8.1.2 depends on web ^1.0.0, file_picker ^8.1.2 requires web ^1.0.0.
And because location >=7.0.0 depends on location_web ^5.0.3 which depends on web ^0.5.1, file_picker ^8.1.2 is incompatible with location >=7.0.0.
So, because hris depends on both location ^7.0.0 and file_picker ^8.1.2, version solving failed.

@phamthangnd
Copy link

dependency_override:
web: ^1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants