You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating to google_sign_in 6.0.1, running the web app in debug and release mode (VS Code) is working fine.
But building or running the release version of the web app from the command line using flutter run -d chrome
results in an error:
The current Flutter SDK version is 2.10.5.
Because <app> depends on google_sign_in >=5.4.4 which requires Flutter SDK version >=3.0.0, version solving failed.
Running "flutter pub get" in <app>...
pub get failed (1; Because <app> depends on google_sign_in >=5.4.4 which requires Flutter SDK version >=3.0.0, version solving failed.)
google_sign_in 6.0.1 release documentation on pub.dev shows the minimum Dart SDK version should be 2.14.
Hi @verscph, google_sign_in and the 1st party plugins all have their minimum flutter versions set to 3.0.0 now so you'll need to upgrade to at least flutter 3.0.0 to be able to use them. For google_sign_in this was actually changed in v5.5.4. See the changelog https://pub.dev/packages/google_sign_in/changelog#544
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
After migrating to google_sign_in 6.0.1, running the web app in debug and release mode (VS Code) is working fine.
But building or running the release version of the web app from the command line using
flutter run -d chrome
results in an error:
google_sign_in 6.0.1 release documentation on pub.dev shows the minimum Dart SDK version should be 2.14.
fluttter --version
on my machine gives:Is Flutter SDK version >=3.0.0 a requirement for google_sign_in 6.0.1?
The text was updated successfully, but these errors were encountered: