aarajput / wc_flutter_share

A Flutter plugin for sharing files & text with other applications.
Apache License 2.0
35 stars 19 forks source link

Consider pubspec update for path_provider #28

Closed azack closed 2 years ago

azack commented 3 years ago

Consider upgrading the dependencies for this project, possibly in conjunction with a semver bump.

The dependency of path_provider has a new major version, currently 2.0.1: https://pub.dev/packages/path_provider

Other major projects such as firebase_auth now require the new version of path_provider, so users using both may encounter pub get errors such as:

Because path_provider >=1.6.4 <2.0.0-nullsafety depends on path_provider_platform_interface ^1.0.1 which depends on plugin_platform_interface ^1.0.1, path_provider >=1.6.4 <2.0.0-nullsafety requires plugin_platform_interface ^1.0.1.
And because firebase_auth >=1.0.0 depends on firebase_core_platform_interface ^4.0.0 which depends on plugin_platform_interface ^2.0.0, path_provider >=1.6.4 <2.0.0-nullsafety is incompatible with firebase_auth >=1.0.0.
MeAtPros commented 3 years ago

@stonega @Katekko @grappetite-ali @aarajput Any update in that case?

gehad-ahmed-mohamed commented 3 years ago

Any updates for this issue?

stonega commented 3 years ago

@gehad-ahmed-mohamed @MeAtPros Use dependency override. Add below to your pubspec.

 dependency_overrides:
  plugin_platform_interface: ^1.0.1
MeAtPros commented 3 years ago

the proposed solution is not a solution;) We ask realistically when to introduce this update

gehad-ahmed-mohamed commented 3 years ago

you can add this to pubspec file until any one updates the plugin .. this fixed my case

dependency_overrides:
  path_provider: ^2.0.1
aarajput commented 3 years ago

I will update this plugin this week.

MeAtPros commented 3 years ago

@aarajput Thanks, We look forward to a quick solution.

MeAtPros commented 3 years ago

@aarajput Any update in that case?

aarajput commented 3 years ago

I will fix this on weekend

MeAtPros commented 3 years ago

@aarajput We are looking forward to this update

MeAtPros commented 3 years ago

@aarajput I see the weekend end and there is still no update you promised

aarajput commented 3 years ago

I have publish 0.3.1 with your fix. Please close this ticket after you test this version.