firebase_core_web 1.7.3
firebase_core_web: ^1.7.3 copied to clipboard
The web implementation of firebase_core
We analyzed this package 9 days ago, and awarded it 60 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 50 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
36 out of 75 API elements (48.0 %) have documentation comments.
Some symbols that are missing documentation: firebase_core_web, firebase_core_web.FirebaseCoreWeb.FirebaseCoreWeb.new, firebase_core_web_interop, firebase_core_web_interop.AppJsImpl, firebase_core_web_interop.AppJsImpl.AppJsImpl.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:firebase_core_web/firebase_core_web.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:firebase_core_web/firebase_core_web.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:firebase_core_web/firebase_core_web.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:firebase_core_web/firebase_core_web.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:firebase_core_web/firebase_core_web.dartthat declares support for platforms:Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:firebase_core_web/firebase_core_web.dartthat imports:package:firebase_core_web/src/interop/core.dartthat imports:package:firebase_core_platform_interface/firebase_core_platform_interface.dartthat imports:package:firebase_core_platform_interface/src/pigeon/test_api.dartthat imports:package:flutter_test/flutter_test.dartthat imports:package:flutter_test/src/widget_tester.dartthat imports:package:flutter_test/src/test_text_input.dartthat imports:package:flutter_test/src/test_text_input_key_handler.dartthat imports:package:flutter_test/src/binding.dartthat imports:package:flutter_test/src/platform.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
ERROR: The function 'getProperty' isn't defined.
lib/firebase_core_web.dart:46:15
╷
46 │ if (js_util.getProperty(e, 'name') == 'FirebaseError') {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_core_web.dart
ERROR: The function 'getProperty' isn't defined.
lib/firebase_core_web.dart:47:20
╷
47 │ return js_util.getProperty(e, 'code') ?? '';
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_core_web.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
firebase_core_platform_interface |
^4.5.1 |
4.8.0 | 6.0.2 | |
js |
^0.6.3 |
0.6.7 | 0.7.2 | Discontinued |
meta |
^1.3.0 |
1.17.0 | 1.17.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
matcher |
- | 0.12.17 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^4.5.1` on firebase_core_platform_interface does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions firebase_core_platform_interface to update the constraint.
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.
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 13 errors:
UNDEFINED_FUNCTION-lib/firebase_core_web.dart:46:15- The function 'getProperty' isn't defined.UNDEFINED_FUNCTION-lib/firebase_core_web.dart:47:20- The function 'getProperty' isn't defined.UNDEFINED_FUNCTION-lib/firebase_core_web.dart:59:15- The function 'getProperty' isn't defined.
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.23.3, Flutter 3.38.2, Dart 3.10.0.
Check the analysis log for details.