Dependency version conflicts with latest package_info_plus, device_info_plus, and share_plus
Description
matomo_tracker ^6.1.0 has version constraints on package_info_plus and device_info_plus that conflict with their latest major versions. This makes it impossible to use matomo_tracker alongside up-to-date dependencies.
Conflicts
1. package_info_plus constraint too restrictive
Because matomo_tracker 6.1.0 depends on package_info_plus >=8.3.0 <10.0.0 and no versions of matomo_tracker match >6.1.0 <7.0.0, matomo_tracker ^6.1.0 requires package_info_plus >=8.3.0 <10.0.0.
So, because app depends on both package_info_plus ^10.1.0 and matomo_tracker ^6.1.0, version solving failed.
2. device_info_plus constraint too restrictive
Because matomo_tracker 6.1.0 depends on device_info_plus >=11.3.3 <13.0.0 and no versions of matomo_tracker match >6.1.0 <7.0.0, matomo_tracker ^6.1.0 requires device_info_plus >=11.3.3 <13.0.0.
So, because app depends on both device_info_plus ^13.1.0 and matomo_tracker ^6.1.0, version solving failed.
3. Transitive conflict with share_plus ^13.1.0 via win32
Because share_plus >=13.1.0 depends on win32 ^6.0.1 and package_info_plus 9.0.1 depends on win32 ^5.5.3, share_plus >=13.1.0 is incompatible with package_info_plus 9.0.1.
And because no versions of package_info_plus match >9.0.1 <10.0.0, share_plus >=13.1.0 is incompatible with package_info_plus ^9.0.1.
So, because app depends on both package_info_plus ^9.0.1 and share_plus ^13.1.0, version solving failed.
Expected behavior
matomo_tracker should support the latest versions of its plus plugin dependencies:
package_info_plus ^10.x
device_info_plus ^13.x
This would also resolve the transitive win32 conflict with share_plus ^13.1.0.
Current version constraints in matomo_tracker 6.1.0
| Package |
Constraint in matomo_tracker |
Latest available |
| package_info_plus |
>=8.3.0 <10.0.0 |
^10.1.0 |
| device_info_plus |
>=11.3.3 <13.0.0 |
^13.1.0 |
Suggested fix
Update the version constraints in pubspec.yaml of matomo_tracker:
package_info_plus: '>=8.3.0 <11.0.0'
device_info_plus: '>=11.3.3 <14.0.0'
Environment
- matomo_tracker: 6.1.0
- package_info_plus: ^10.1.0
- device_info_plus: ^13.1.0
- share_plus: ^13.1.0
- Flutter: 3.44.0
- Dart: 3.12.0
Dependency version conflicts with latest package_info_plus, device_info_plus, and share_plus
Description
matomo_tracker ^6.1.0has version constraints onpackage_info_plusanddevice_info_plusthat conflict with their latest major versions. This makes it impossible to usematomo_trackeralongside up-to-date dependencies.Conflicts
1.
package_info_plusconstraint too restrictiveBecause matomo_tracker 6.1.0 depends on package_info_plus >=8.3.0 <10.0.0 and no versions of matomo_tracker match >6.1.0 <7.0.0, matomo_tracker ^6.1.0 requires package_info_plus >=8.3.0 <10.0.0.
So, because app depends on both package_info_plus ^10.1.0 and matomo_tracker ^6.1.0, version solving failed.
2.
device_info_plusconstraint too restrictiveBecause matomo_tracker 6.1.0 depends on device_info_plus >=11.3.3 <13.0.0 and no versions of matomo_tracker match >6.1.0 <7.0.0, matomo_tracker ^6.1.0 requires device_info_plus >=11.3.3 <13.0.0.
So, because app depends on both device_info_plus ^13.1.0 and matomo_tracker ^6.1.0, version solving failed.
3. Transitive conflict with
share_plus ^13.1.0viawin32Because share_plus >=13.1.0 depends on win32 ^6.0.1 and package_info_plus 9.0.1 depends on win32 ^5.5.3, share_plus >=13.1.0 is incompatible with package_info_plus 9.0.1.
And because no versions of package_info_plus match >9.0.1 <10.0.0, share_plus >=13.1.0 is incompatible with package_info_plus ^9.0.1.
So, because app depends on both package_info_plus ^9.0.1 and share_plus ^13.1.0, version solving failed.
Expected behavior
matomo_trackershould support the latest versions of itsplusplugin dependencies:package_info_plus ^10.xdevice_info_plus ^13.xThis would also resolve the transitive
win32conflict withshare_plus ^13.1.0.Current version constraints in matomo_tracker 6.1.0
Suggested fix
Update the version constraints in
pubspec.yamlofmatomo_tracker:package_info_plus: '>=8.3.0 <11.0.0'
device_info_plus: '>=11.3.3 <14.0.0'
Environment