google_sign_in_mocks 0.2.2
google_sign_in_mocks: ^0.2.2 copied to clipboard
Mocks for Google Sign In. Use this package with `firebase_auth_mocks` to write unit tests involving Firebase Authentication.
We analyzed this package 11 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Homepage URL is insecure.
Update the homepage
field and use a secure (https
) URL.
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: BSD-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
27 out of 33 API elements (81.8 %) have documentation comments.
Some symbols that are missing documentation: google_sign_in_mocks.MockGoogleSignIn
, google_sign_in_mocks.MockGoogleSignIn.MockGoogleSignIn.new
, google_sign_in_mocks.MockGoogleSignInAccount
, google_sign_in_mocks.MockGoogleSignInAccount.MockGoogleSignInAccount.new
, google_sign_in_mocks.MockGoogleSignInAuthentication
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:google_sign_in_mocks/google_sign_in_mocks.dart
that imports:package:google_sign_in_mocks/src/google_sign_in_mocks_base.dart
that imports:package:google_sign_in/google_sign_in.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:google_sign_in_mocks/google_sign_in_mocks.dart
that imports:package:google_sign_in_mocks/src/google_sign_in_mocks_base.dart
that imports:package:google_sign_in/google_sign_in.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:google_sign_in_mocks/google_sign_in_mocks.dart
that imports:package:google_sign_in_mocks/src/google_sign_in_mocks_base.dart
that imports:package:google_sign_in/google_sign_in.dart
that declares support for platforms:Android
,iOS
,Web
.
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
google_sign_in |
^5.0.2 |
5.4.4 | 6.3.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
google_sign_in_android |
- | 6.2.1 | 6.2.1 | |
google_sign_in_ios |
- | 5.9.0 | 5.9.0 | |
google_sign_in_platform_interface |
- | 2.5.0 | 2.5.0 | |
google_sign_in_web |
- | 0.10.2+1 | 0.12.4+4 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.1.4 | 2.1.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.0.2` on google_sign_in does not support the stable version `6.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
INVALID_IMPLEMENTATION_OVERRIDE
-lib/src/google_sign_in_mocks_base.dart:26:7
- 'Object.==' ('bool Function(Object)') isn't a valid concrete implementation of 'GoogleSignInAccount.==' ('bool Function(dynamic)').
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.21
, Flutter 3.29.3
, Dart 3.7.2
.
Check the analysis log for details.