parse-community / Parse-SDK-Flutter

The Dart/Flutter SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
575 stars 194 forks source link

connectivity_plus plugin latest versions are not supported #986

Closed ikarelin closed 9 months ago

ikarelin commented 10 months ago

New Issue Checklist

Issue Description

/Users/ikarelin/Developer/flutter/bin/flutter --no-color pub get Resolving dependencies... Because parse_server_sdk_flutter 7.0.0 depends on connectivity_plus ^3.0.6 and no versions of parse_server_sdk_flutter match >7.0.0 <8.0.0, parse_server_sdk_flutter ^7.0.0 requires connectivity_plus ^3.0.6. So, because easy_renty depends on both connectivity_plus ^5.0.2 and parse_server_sdk_flutter ^7.0.0, version solving failed.

You can try the following suggestion to make the pubspec resolve:

Steps to reproduce

Actual Outcome

Expected Outcome

Environment

Parse Flutter SDK

Server

Logs

parse-github-assistant[bot] commented 10 months ago

Thanks for opening this issue!

mbfakourii commented 10 months ago

According to our support policy, we currently cannot cancel our support for versions below 3 darts (Until May 2024).

My suggestion is to use dependency_overrides. like this

dependency_overrides:
  connectivity_plus: ^5.0.2
PiotrMitkowski commented 10 months ago

@mbfakourii it seems, that version 5.0.2 of the connectivity_plus requires Dart 2.18 as the minimum version, so it should be fine with your support policy. Even for the Flutter package, connectivity_plus requires Flutter 3.3.0, which also matches your constraints.

mbfakourii commented 10 months ago

@mbfakourii it seems, that version 5.0.2 of the connectivity_plus requires Dart 2.18 as the minimum version, so it should be fine with your support policy. Even for the Flutter package, connectivity_plus requires Flutter 3.3.0, which also matches your constraints.

I will check, thanks for the information