simple_firebase 0.0.2 copy "simple_firebase: ^0.0.2" to clipboard
simple_firebase: ^0.0.2 copied to clipboard

A qol package to simplify the process of handling firebase.

3
likes
70/ 160
pub points
222
downloads

We analyzed this package 3 days ago, and awarded it 70 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

48 out of 68 API elements (70.6 %) have documentation comments.

Some symbols that are missing documentation: auth, auth.Auth.auth, auth.Auth.googleSignIn, firestore, firestore.SimpleFirestore.streams.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:simple_firebase/PlatformClients/rest_api_web.dart that imports:
  • package:http/browser_client.dart that imports:
  • package:http/src/browser_client.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform iOS

Because:

  • package:simple_firebase/PlatformClients/rest_api_web.dart that imports:
  • package:http/browser_client.dart that imports:
  • package:http/src/browser_client.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Windows

Because:

  • package:simple_firebase/PlatformClients/rest_api_web.dart that imports:
  • package:http/browser_client.dart that imports:
  • package:http/src/browser_client.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Linux

Because:

  • package:simple_firebase/PlatformClients/rest_api_web.dart that imports:
  • package:http/browser_client.dart that imports:
  • package:http/src/browser_client.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform macOS

Because:

  • package:simple_firebase/PlatformClients/rest_api_web.dart that imports:
  • package:http/browser_client.dart that imports:
  • package:http/src/browser_client.dart that imports:
  • package:web/web.dart that imports:
  • package:web/src/helpers.dart that imports:
  • package:web/src/helpers/http.dart that imports:
  • package:web/src/helpers/events/events.dart that imports:
  • package:web/src/helpers/events/streams.dart that imports:
  • package:web/src/dom.dart that imports:
  • package:web/src/dom/xhr.dart that imports:
  • package:web/src/dom/html.dart that imports:
  • package:web/src/dom/webmidi.dart that imports:
  • package:web/src/dom/hr_time.dart that imports:
  • package:web/src/dom/user_timing.dart that imports:
  • package:web/src/dom/performance_timeline.dart that imports:
  • dart:js_interop
Package not compatible with platform Web

Because:

  • package:simple_firebase/auth.dart that imports:
  • package:firebase_auth/firebase_auth.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:simple_firebase/auth.dart that imports:
  • package:firebase_auth/firebase_auth.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 15 issues. Showing the first 2:

WARNING: Unnecessary cast.

lib/firestore.dart:77:16

   ╷
77 │         return snapshot.data() as Map<String, dynamic>?;
   │                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The member 'hasListeners' can only be used within instance members of subclasses of 'package:flutter/src/foundation/change_notifier.dart'.

lib/firestore.dart:162:21

    ╷
162 │       if (!notifier.hasListeners) {
    │                     ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/firestore.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
cloud_firestore ^5.5.0 5.6.0 5.6.0
firebase_auth ^5.3.3 5.3.4 5.3.4
firebase_core ^3.8.0 3.9.0 3.9.0
firebase_database ^11.1.5 11.2.0 11.2.0
firebase_messaging ^15.1.3 15.1.6 15.1.6
firebase_storage ^12.3.6 12.3.7 12.3.7
flutter flutter 0.0.0 0.0.0
google_sign_in ^6.2.2 6.2.2 6.2.2
http ^1.2.2 1.2.2 1.2.2
image_picker ^0.8.5+3 0.8.9 1.1.2
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.48 1.3.48
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
cloud_firestore_platform_interface - 6.6.0 6.6.0
cloud_firestore_web - 4.4.0 4.4.0
collection - 1.19.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
fake_async - 1.3.1 1.3.2
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+2 0.9.4+2
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+3 0.9.3+3
firebase_auth_platform_interface - 7.4.10 7.4.10
firebase_auth_web - 5.13.5 5.13.5
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.19.0 2.19.0
firebase_database_platform_interface - 0.2.5+47 0.2.5+47
firebase_database_web - 0.2.6+5 0.2.6+5
firebase_messaging_platform_interface - 4.5.49 4.5.49
firebase_messaging_web - 3.9.5 3.9.5
firebase_storage_platform_interface - 5.1.34 5.1.34
firebase_storage_web - 3.10.6 3.10.6
flutter_plugin_android_lifecycle - 2.0.24 2.0.24
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.3 0.3.3
google_sign_in_android - 6.1.34 6.1.34
google_sign_in_ios - 5.7.8 5.7.8
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4+3 0.12.4+3
http_parser - 4.1.1 4.1.1
image_picker_android - 0.8.12+19 0.8.12+19
image_picker_for_web - 2.2.0 3.0.6
image_picker_ios - 0.8.12+1 0.8.12+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.0 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.0 1.10.1
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
string_scanner - 1.3.0 1.4.1
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.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 `^0.8.5+3` on image_picker does not support the stable version `1.0.0`.

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

  • INVALID_ASSIGNMENT - lib/imagestorage.dart:110:34 - A value of type 'List

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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

3
likes
70
points
222
downloads

Publisher

unverified uploader

Weekly Downloads

A qol package to simplify the process of handling firebase.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cloud_firestore, firebase_auth, firebase_core, firebase_database, firebase_messaging, firebase_storage, flutter, google_sign_in, http, image_picker

More

Packages that depend on simple_firebase