flutter_testing_sso 0.0.1+31
flutter_testing_sso: ^0.0.1+31 copied to clipboard
A Flutter package to integrate Gmail Single Sign-On (SSO) for Web, Android, iOS, and Desktop platforms
We analyzed this package 46 hours ago, and awarded it 130 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.
0/10 points: 20% or more of the public API has dartdoc comments
4 out of 41 API elements (9.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: auth_buttons, auth_buttons.AuthButtons, auth_buttons.AuthButtons.AuthButtons.new, configuration_service, configuration_service.ConfigurationService.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_testing_sso/auth_buttons.dartthat imports:package:flutter_testing_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_testing_sso/auth_buttons.dartthat imports:package:flutter_testing_sso/gmail_sso.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:flutter_testing_sso/auth_buttons.dartthat imports:package:flutter_testing_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
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_testing_sso/auth_buttons.dartthat imports:package:flutter_testing_sso/gmail_sso.dartthat imports:package:flutter_testing_sso/services/configuration_service.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_testing_sso/auth_buttons.dartthat imports:package:flutter_testing_sso/gmail_sso.dartthat imports:package:flutter_testing_sso/services/configuration_service.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:flutter_testing_sso/auth_buttons.dartthat imports:package:flutter_testing_sso/gmail_sso.dartthat imports:package:flutter_testing_sso/services/configuration_service.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: The variable name 'clientId_shared_preferences' isn't a lowerCamelCase identifier.
lib/gmail_sso.dart:15:11
╷
15 │ String? clientId_shared_preferences;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gmail_sso.dart
INFO: The variable name 'appidpid_shared_preferences' isn't a lowerCamelCase identifier.
lib/gmail_sso.dart:16:8
╷
16 │ int? appidpid_shared_preferences;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
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 |
|---|---|---|---|---|
device_info_plus |
^11.2.2 |
11.5.0 | 12.3.0 | |
dio |
^5.7.0 |
5.9.0 | 5.9.0 | |
flutter_dotenv |
^5.2.1 |
5.2.1 | 6.0.0 | |
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
go_router |
^14.6.3 |
14.8.1 | 17.0.1 | |
google_sign_in |
^6.2.2 |
6.3.0 | 7.2.0 | |
shared_preferences |
^2.5.1 |
2.5.4 | 2.5.4 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^11.2.2` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
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.
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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.