firebase_dart 1.2.0 copy "firebase_dart: ^1.2.0" to clipboard
firebase_dart: ^1.2.0 copied to clipboard

A port of the Firebase database, auth and storage client to pure Dart code, usable on different platforms

123
likes
110/ 160
pub points
90%
popularity

We analyzed this package 15 hours ago, and awarded it 110 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 license: 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

424 out of 707 API elements (60.0 %) have documentation comments.

Some symbols that are missing documentation: firebase_auth, firebase_core, firebase_dart, firebase_dart.EmailAuthCredential.EmailAuthCredential.fromJson, firebase_dart.EmailAuthProvider.EMAIL_LINK_SIGN_IN_METHOD.

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_dart/firebase_dart.dart that imports:
  • package:firebase_dart/core.dart that imports:
  • package:firebase_dart/src/core.dart that imports:
  • package:firebase_dart/src/implementation.dart that imports:
  • package:firebase_dart/auth.dart that imports:
  • package:firebase_dart/src/auth/auth.dart that imports:
  • package:firebase_dart/src/auth/recaptcha_verifier.dart that imports:
  • package:firebase_dart/src/auth/recaptcha_verifier_web.dart that imports:
  • package:firebase_dart/src/auth/impl/auth.dart that imports:
  • package:firebase_dart/src/auth/impl/user.dart that imports:
  • package:firebase_dart/src/auth/authhandlers.dart that imports:
  • package:firebase_dart/src/implementation/isolate/auth.dart that imports:
  • package:firebase_dart/src/implementation/isolate/util.dart that imports:
  • dart:isolate

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_dart/firebase_dart.dart that imports:
  • package:firebase_dart/core.dart that imports:
  • package:firebase_dart/src/core.dart that imports:
  • package:firebase_dart/src/implementation.dart that imports:
  • package:firebase_dart/auth.dart that imports:
  • package:firebase_dart/src/auth/auth.dart that imports:
  • package:firebase_dart/src/auth/recaptcha_verifier.dart that imports:
  • package:firebase_dart/src/auth/recaptcha_verifier_io.dart that imports:
  • package:firebase_dart/src/auth/impl/auth.dart that imports:
  • package:firebase_dart/src/auth/impl/user.dart that imports:
  • package:firebase_dart/src/auth/authhandlers.dart that imports:
  • package:firebase_dart/src/implementation/isolate/auth.dart that imports:
  • package:firebase_dart/src/implementation/isolate/util.dart that imports:
  • dart:isolate

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 91 issues. Showing the first 2:

WARNING: Unused import: 'package:firebase_dart/database.dart'.

lib/implementation/pure_dart.dart:2:8

  ╷
2 │ import 'package:firebase_dart/database.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Unused import: '../src/database/impl/firebase_impl.dart'.

lib/implementation/pure_dart.dart:18:8

   ╷
18 │ import '../src/database/impl/firebase_impl.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
_discoveryapis_commons ^1.0.0 1.0.7 1.0.7
async ^2.5.0 2.11.0 2.11.0
clock ^1.1.0 1.1.1 1.1.1
collection ^1.15.0 1.19.0 1.19.0
crypto ^3.0.0 3.0.5 3.0.5
expressions ^0.2.2 0.2.5+2 0.2.5+2
firebaseapis >=0.1.2 <0.3.0 0.2.0 0.2.0
hive ^2.0.0 2.2.3 2.2.3
http >=0.13.0 <2.0.0 1.2.2 1.2.2
intl >=0.17.0 <0.20.0 0.19.0 0.19.0
jose ^0.3.2 0.3.4 0.3.4
js ^0.6.3 0.6.7 0.7.1
logging ^1.0.0 1.2.0 1.2.0
meta ^1.3.0 1.16.0 1.16.0
openid_client ^0.4.3 0.4.8 0.4.8
quiver ^3.0.0 3.2.2 3.2.2
rxdart ^0.27.0 0.27.7 0.28.0
sortedmap ^0.5.2 0.5.4 0.5.4
stream_channel ^2.1.0 2.1.2 2.1.2
synchronized ^3.0.0 3.3.0+2 3.3.0+2
uuid >=3.0.1 <5.0.0 4.5.0 4.5.0
web_socket_channel >=2.0.0 <4.0.0 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
asn1lib - 1.5.5 1.5.5
boolean_selector - 2.1.1 2.1.1
convert - 3.1.1 3.1.1
crypto_keys - 0.3.0+1 0.3.0+1
fixnum - 1.1.0 1.1.0
http_parser - 4.1.0 4.1.0
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
pointycastle - 3.9.1 3.9.1
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.11.1 1.11.1
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.3.2 1.3.2
web - 1.0.0 1.0.0
web_socket - 0.1.6 0.1.6
x509 - 0.2.4+3 0.2.4+3

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

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

The constraint `^0.27.0` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart 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:

  • UNDEFINED_GETTER - lib/src/database/impl/connections/protocol/transport.dart:35:16 - The getter 'ready' isn't defined for the type 'WebSocketChannel'.

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.22.12, Dart 3.5.2.

Check the analysis log for details.

123
likes
110
pub points
90%
popularity

Publisher

verified publisherappsup.be

A port of the Firebase database, auth and storage client to pure Dart code, usable on different platforms

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

_discoveryapis_commons, async, clock, collection, crypto, expressions, firebaseapis, hive, http, intl, jose, js, logging, meta, openid_client, quiver, rxdart, sortedmap, stream_channel, synchronized, uuid, web_socket_channel

More

Packages that depend on firebase_dart