firebase_admin_sdk 0.0.6 copy "firebase_admin_sdk: ^0.0.6" to clipboard
firebase_admin_sdk: ^0.0.6 copied to clipboard

A port of the Firebase admin sdk to pure, idiomatic Dart code

4
likes
130/ 160
pub points
71%
popularity

We analyzed this package 12 hours ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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 licenses: Apache-2.0, BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

111 out of 173 API elements (64.2 %) have documentation comments.

Some symbols that are missing documentation: firebase_admin, testing, testing.AccessToken.expirationTime, testing.Auth.delete, testing.Credentials.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:firebase_admin_sdk/firebase_admin.dart that imports:
  • package:firebase_admin_sdk/src/credential.dart that imports:
  • package:firebase_admin_sdk/src/auth/credential.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_admin_sdk/firebase_admin.dart that imports:
  • package:firebase_admin_sdk/src/credential.dart that imports:
  • package:firebase_admin_sdk/src/auth/credential.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.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 23 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MockCredentialMixin._callCount

lib/src/testing.dart:11:7

   ╷
11 │ class ServiceAccountMockCredential extends ServiceAccountCredential
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/testing.dart

INFO: The variable name 'QUOTA_EXCEEDED' isn't a lowerCamelCase identifier.

lib/src/utils/error.dart:546:21

    ╷
546 │   FirebaseAuthError.QUOTA_EXCEEDED([String? message])
    │                     ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/error.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
clock ^1.1.1 1.1.2 1.1.2
collection ^1.17.0 1.19.1 1.19.1
crypto_keys ^0.3.0+1 0.3.0+1 0.3.0+1
dotenv ^3.0.0 3.0.0 4.2.0
firebase_dart ^1.1.1 1.2.3 1.2.3
gcloud ^0.8.11 0.8.17 0.8.17
http ^1.2.1 1.2.2 1.2.2
jose ^0.3.4 0.3.4 0.3.4
meta ^1.9.1 1.16.0 1.16.0
openid_client ^0.4.8 0.4.8 0.4.8
path ^1.8.3 1.9.1 1.9.1
x509 ^0.2.3 0.2.4+3 0.2.4+3
Transitive dependencies
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.7 1.0.7
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
expressions - 0.2.5+2 0.2.5+2
firebaseapis - 0.2.0 0.2.0
fixnum - 1.1.1 1.1.1
googleapis - 13.2.0 13.2.0
hive - 2.2.3 2.2.3
http_parser - 4.1.1 4.1.1
intl - 0.19.0 0.20.0
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
petitparser - 6.0.2 6.0.2
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
retry - 3.1.2 3.1.2
rxdart - 0.28.0 0.28.0
sortedmap - 0.5.4 0.5.4
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.0.0` on dotenv does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions 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.22.15, Dart 3.5.4.

Check the analysis log for details.

4
likes
130
pub points
71%
popularity

Publisher

verified publisherottomancoder.com

A port of the Firebase admin sdk to pure, idiomatic Dart code

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0, BSD-3-Clause (license)

Dependencies

clock, collection, crypto_keys, dotenv, firebase_dart, gcloud, http, jose, meta, openid_client, path, x509

More

Packages that depend on firebase_admin_sdk