flutter_gmail_sso 0.1.6+5
flutter_gmail_sso: ^0.1.6+5 copied to clipboard
A Flutter package to integrate Gmail Single Sign-On (SSO) for Web, Android, iOS, and Desktop platforms
We analyzed this package 13 days ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/dev2-hc/flutter_gmail_sso was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/dev2-hc/flutter_gmail_sso was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.1.6+5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
3 out of 6 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: gmail_sso, gmail_sso.GmailSSO, gmail_sso.GmailSSO.GmailSSO.new.
10/10 points: Package has an example
10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_gmail_sso/gmail_sso.dartthat imports:package:google_sign_in/google_sign_in.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_gmail_sso/gmail_sso.dartthat imports:package:google_sign_in/google_sign_in.dartthat declares support for platforms:Android,iOS,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:flutter_gmail_sso/gmail_sso.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:flutter_gmail_sso/gmail_sso.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
INFO: Don't use 'BuildContext's across async gaps.
lib/gmail_sso.dart:25:42
╷
25 │ return _signInWithGoogleForDesktop(context, authUri, redirectUri);
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gmail_sso.dart
INFO: The local variable '_googleSignIn' starts with an underscore.
lib/gmail_sso.dart:31:24
╷
31 │ final GoogleSignIn _googleSignIn = GoogleSignIn(
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gmail_sso.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_dotenv |
^5.2.1 |
5.2.1 | 6.0.1 | |
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
google_sign_in |
^6.2.2 |
6.3.0 | 7.2.0 | |
http |
^1.3.0 |
1.6.0 | 1.6.0 | |
url_launcher |
^6.3.1 |
6.3.2 | 6.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.2.1` on flutter_dotenv does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions flutter_dotenv to update the constraint.
The constraint `^6.2.2` on google_sign_in does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions google_sign_in to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.