simple_firebase 0.0.2 simple_firebase: ^0.0.2 copied to clipboard
A qol package to simplify the process of handling firebase.
We analyzed this package 3 days ago, and awarded it 70 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 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
.
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.
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.
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
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
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.