ds_firebase_auth_provider 0.0.1
ds_firebase_auth_provider: ^0.0.1 copied to clipboard
Google authentication provider for Dartstream.
We analyzed this package 4 days ago, and awarded it 40 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.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
41 out of 74 API elements (55.4 %) have documentation comments.
Some symbols that are missing documentation: ds_firebase_auth_entry, ds_firebase_auth_entry.registerFirebaseProvider, ds_firebase_auth_export, ds_firebase_auth_export.DSAuthEvent.DSAuthEvent.new, ds_firebase_auth_export.DSAuthEvent.data.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
ERROR: The property 'user' can't be unconditionally accessed because the receiver can be 'null'.
lib/ds_firebase_auth_provider.dart:66:29
╷
66 │ final user = credential.user;
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/ds_firebase_auth_provider.dart
ERROR: The method 'getIdToken' can't be unconditionally invoked because the receiver can be 'null'.
lib/ds_firebase_auth_provider.dart:107:30
╷
107 │ final token = await user.getIdToken(true);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/ds_firebase_auth_provider.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ds_auth_base |
^0.0.2 |
0.0.2 | 0.0.2 | |
ds_standard_features |
^0.1.5 |
0.1.6 | 0.1.6 | |
firebase_dart_admin_auth_sdk |
^0.0.9 |
0.0.11 | 0.0.11 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
google_cloud |
- | 0.3.0 | 0.3.0 | |
google_identity_services_web |
- | 0.3.3+1 | 0.3.3+1 | |
googleapis_auth |
- | 2.2.0 | 2.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http2 |
- | 2.3.1 | 2.3.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
io |
- | 1.0.5 | 1.0.5 | |
jwt_generator |
- | 0.0.8 | 0.0.8 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.18.2 | 1.18.2 | |
os_detect |
- | 2.0.3 | 2.0.3 | |
path |
- | 1.9.1 | 1.9.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
rsa_pkcs |
- | 2.1.0 | 2.1.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.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 8 errors:
UNCHECKED_USE_OF_NULLABLE_VALUE-lib/ds_firebase_auth_provider.dart:66:29- The property 'user' can't be unconditionally accessed because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/ds_firebase_auth_provider.dart:107:30- The method 'getIdToken' can't be unconditionally invoked because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/ds_firebase_auth_provider.dart:108:43- The property 'uid' can't be unconditionally accessed because the receiver can be 'null'.
Run dart pub downgrade and then dart 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.11, Dart 3.11.2.
Check the analysis log for details.