flutter_my_sso 0.0.1
flutter_my_sso: ^0.0.1 copied to clipboard
A Flutter package to integrate Gmail Single Sign-On (SSO) for Web, Android, iOS, and Desktop platforms
We analyzed this package 3 hours ago, and awarded it 140 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/BasitMunir121/sso.git
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/BasitMunir121/sso.git
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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
20/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_my_sso/gmail_sso.dart
that imports:package:google_sign_in/google_sign_in.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_my_sso/gmail_sso.dart
that imports:package:google_sign_in/google_sign_in.dart
that 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_my_sso/gmail_sso.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that imports:package:flutter_inappwebview/src/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dart
that imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart
that imports:package:flutter_inappwebview_platform_interface/src/main.dart
that imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_my_sso/gmail_sso.dart
that imports:package:flutter_inappwebview/flutter_inappwebview.dart
that imports:package:flutter_inappwebview/src/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/main.dart
that imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dart
that imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart
that imports:package:flutter_inappwebview_platform_interface/src/main.dart
that imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 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.0 | |
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.5.0 | 1.5.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.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.