exa_auth 1.0.0
exa_auth: ^1.0.0 copied to clipboard
Social login
We analyzed this package 3 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
29 out of 256 API elements (11.3 %) 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: _exports, _exports, _exports, _exports, _exports.
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:exa_auth/exa_auth.dartthat imports:package:exa_auth/modules/_exports.dartthat imports:package:exa_auth/modules/auth/_exports.dartthat imports:package:exa_auth/modules/auth/domain/_exports.dartthat imports:package:exa_auth/modules/auth/domain/entities/_exports.dartthat imports:package:exa_auth/modules/auth/domain/entities/auth_failure.dartthat imports:package:exa_auth/modules/auth/infra/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/datasources/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/datasources/exa_auth_datasource.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:exa_auth/exa_auth.dartthat imports:package:exa_auth/modules/_exports.dartthat imports:package:exa_auth/modules/auth/_exports.dartthat imports:package:exa_auth/modules/auth/domain/_exports.dartthat imports:package:exa_auth/modules/auth/domain/entities/_exports.dartthat imports:package:exa_auth/modules/auth/domain/entities/auth_failure.dartthat imports:package:exa_auth/modules/auth/infra/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/datasources/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/datasources/interfaces/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/datasources/interfaces/i_exa_auth_datasource.dartthat imports:package:firebase_auth/firebase_auth.dartthat declares support for platforms:Android,iOS,Windows,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:exa_auth/exa_auth.dartthat imports:package:exa_auth/modules/_exports.dartthat imports:package:exa_auth/modules/auth/_exports.dartthat imports:package:exa_auth/modules/auth/domain/_exports.dartthat imports:package:exa_auth/modules/auth/domain/entities/_exports.dartthat imports:package:exa_auth/modules/auth/domain/entities/auth_failure.dartthat imports:package:exa_auth/modules/auth/infra/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/datasources/_exports.dartthat imports:package:exa_auth/modules/auth/infra/external/datasources/exa_auth_datasource.dartthat imports:package:sign_in_with_apple/sign_in_with_apple.dartthat imports:package:sign_in_with_apple/src/sign_in_with_apple.dartthat imports:package:sign_in_with_apple_platform_interface/sign_in_with_apple_platform_interface.dartthat imports:package:sign_in_with_apple_platform_interface/method_channel_sign_in_with_apple.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
ERROR: The class 'GoogleSignIn' doesn't have an unnamed constructor.
lib/modules/auth/infra/external/datasources/exa_auth_datasource.dart:167:32
╷
167 │ final googleUser = await GoogleSignIn().signIn();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/modules/auth/infra/external/datasources/exa_auth_datasource.dart
ERROR: The method 'signIn' isn't defined for the type 'GoogleSignIn'.
lib/modules/auth/infra/external/datasources/exa_auth_datasource.dart:167:47
╷
167 │ final googleUser = await GoogleSignIn().signIn();
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/modules/auth/infra/external/datasources/exa_auth_datasource.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
any |
3.0.7 | 3.0.7 | |
dartz |
any |
0.10.1 | 0.10.1 | |
equatable |
any |
2.0.8 | 2.0.8 | |
firebase_auth |
any |
6.1.3 | 6.1.3 | |
firebase_auth_platform_interface |
any |
8.1.5 | 8.1.5 | |
firebase_core |
any |
4.3.0 | 4.3.0 | |
flutter_lints |
any |
6.0.0 | 6.0.0 | |
flutter_svg |
any |
2.2.3 | 2.2.3 | |
get_it |
any |
9.2.0 | 9.2.0 | |
google_sign_in |
any |
7.2.0 | 7.2.0 | |
logging |
any |
1.3.0 | 1.3.0 | |
lottie |
any |
3.3.2 | 3.3.2 | |
pin_code_fields |
any |
8.0.1 | 8.0.1 | |
sign_in_with_apple |
any |
7.0.1 | 7.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.65 | 1.3.65 | |
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.5 | 2.1.5 | |
firebase_auth_web |
- | 6.1.1 | 6.1.1 | |
firebase_core_platform_interface |
- | 6.0.2 | 6.0.2 | |
firebase_core_web |
- | 3.3.1 | 3.3.1 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
google_sign_in_android |
- | 7.2.7 | 7.2.7 | |
google_sign_in_ios |
- | 6.2.4 | 6.2.4 | |
google_sign_in_platform_interface |
- | 3.1.0 | 3.1.0 | |
google_sign_in_web |
- | 1.1.0 | 1.1.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
lints |
- | 6.0.0 | 6.0.0 | |
matcher |
- | 0.12.17 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
sign_in_with_apple_platform_interface |
- | 2.0.0 | 2.0.0 | |
sign_in_with_apple_web |
- | 3.0.0 | 3.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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 4 errors:
UNDEFINED_METHOD-lib/modules/auth/infra/external/datasources/exa_auth_datasource.dart:120:24- The method 'generateNonce' isn't defined for the type 'ExaAuthDatasource'.TYPE_TEST_WITH_UNDEFINED_NAME-lib/modules/auth/infra/external/datasources/exa_auth_datasource.dart:266:22- The name 'FirebaseAuthMultiFactorException' isn't defined, so it can't be used in an 'is' expression.UNDEFINED_METHOD-lib/modules/auth/infra/external/datasources/exa_auth_datasource.dart:313:22- The method 'generateNonce' isn't defined for the type 'ExaAuthDatasource'.
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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.