firebase_go_admin 0.11.2+3 copy "firebase_go_admin: ^0.11.2+3" to clipboard
firebase_go_admin: ^0.11.2+3 copied to clipboard

Firebase Administration based on the official Firebase Admin GO SDK via Dart FFI.

3
likes
120/ 160
pub points
1
downloads

We analyzed this package 6 days ago, and awarded it 120 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: MPL-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

20440 out of 36269 API elements (56.4 %) have documentation comments.

Some symbols that are missing documentation: any.pb, any.pb.Any, any.pb.Any.$_whichOneof, any.pb.Any.Any, any.pb.Any.Any.fromBuffer.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:firebase_go_admin/firebase_go_admin.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:firebase_go_admin/firebase_go_admin.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:firebase_go_admin/firebase_go_admin.dart that declares support for platforms: Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_go_admin/firebase_go_admin.dart that imports:
  • package:firebase_go_admin/src/firebase_auth_admin.dart that imports:
  • package:firebase_go_admin/src/helpers.dart that imports:
  • package:firebase_go_admin/src/lib_firebase_admin.dart that imports:
  • dart:ffi

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

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.14.3 <3.0.0' don't guarantee it.

lib/src/firebase_admin.dart:10:60

   ╷
10 │       serviceFilePath.toNativeUtf8(allocator: malloc).cast<Char>();
   │                                                            ^^^^
   ╵

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

WARNING: This API is available since SDK 2.17.0, but constraints '>=2.14.3 <3.0.0' don't guarantee it.

lib/src/firebase_admin.dart:20:63

   ╷
20 │       serviceAccountJson.toNativeUtf8(allocator: malloc).cast<Char>();
   │                                                               ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/firebase_admin.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
args ^2.3.0 2.6.0 2.6.0
ffi ^2.0.1 2.1.3 2.1.3
fixnum ^1.0.1 1.1.1 1.1.1
go_bridge ^1.3.1 1.4.1 1.4.3
path ^1.8.0 1.9.1 1.9.1
proto_annotations ^2.3.1 2.3.1 4.0.0
protobuf ^2.1.0 2.1.0 3.1.0
tuple ^2.0.0 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
async - 2.12.0 2.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
google_identity_services_web - 0.3.3 0.3.3
googleapis_auth - 1.6.0 1.6.0
grpc - 3.2.4 4.0.1
http - 1.2.2 1.2.2
http2 - 2.3.1 2.3.1
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
source_span - 1.10.1 1.10.1
squarealfa_common_types - 1.2.1 2.0.0
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.0 1.1.0

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

The constraint `^2.3.1` on proto_annotations does not support the stable version `3.0.0`.

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

The constraint `^2.1.0` on protobuf does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions protobuf 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.17, Dart 3.6.0.

Check the analysis log for details.

3
likes
120
points
1
downloads

Publisher

verified publishersquarealfa.com

Weekly Downloads

Firebase Administration based on the official Firebase Admin GO SDK via Dart FFI.

Homepage
Repository (GitLab)
View/report issues
Contributing

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

args, ffi, fixnum, go_bridge, path, proto_annotations, protobuf, tuple

More

Packages that depend on firebase_go_admin