firebase_storage_hooks 0.0.1+14 firebase_storage_hooks: ^0.0.1+14 copied to clipboard
Hooks used for common firebase storage operations such as selecting and uploading file(s)
We analyzed this package 16 hours ago, and awarded it 100 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/Nolence/firebase_hooks/tree/main/packages/firebase_storage_hooks
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: firebase_storage_hooks
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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
45 out of 88 API elements (51.1 %) have documentation comments.
Some symbols that are missing documentation: firebase_storage_hooks
, firebase_storage_hooks.AsyncSnapshotWithProgress.progress
, firebase_storage_hooks.CommitHandler.value
, firebase_storage_hooks.CommitsHandler.retryFailed
, firebase_storage_hooks.CommitsHandler.values
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:firebase_storage_hooks/firebase_storage_hooks.dart
that imports:package:firebase_storage_hooks/src/storage_files.dart
that imports:package:firebase_storage_hooks/src/models/storage_files_handler.dart
that imports:package:firebase_storage/firebase_storage.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:firebase_storage_hooks/firebase_storage_hooks.dart
that imports:package:firebase_storage_hooks/src/storage_files.dart
that imports:package:firebase_storage_hooks/src/models/storage_files_handler.dart
that imports:package:firebase_storage/firebase_storage.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:firebase_storage_hooks/firebase_storage_hooks.dart
that imports:package:firebase_storage_hooks/src/storage_files.dart
that imports:package:firebase_storage_hooks/src/models/storage_files_handler.dart
that imports:package:firebase_storage/firebase_storage.dart
that imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dart
that imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dart
that imports:dart:io
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:firebase_storage_hooks/firebase_storage_hooks.dart
that imports:package:firebase_storage_hooks/src/storage_files.dart
that imports:package:firebase_storage_hooks/src/files.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:firebase_storage_hooks/firebase_storage_hooks.dart
that imports:package:firebase_storage_hooks/src/storage_files.dart
that imports:package:firebase_storage_hooks/src/files.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:firebase_storage_hooks/firebase_storage_hooks.dart
that imports:package:firebase_storage_hooks/src/storage_files.dart
that imports:package:firebase_storage_hooks/src/files.dart
that imports:package:file_picker/file_picker.dart
that imports:package:file_picker/src/file_picker.dart
that imports:package:file_picker/src/windows/file_picker_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
WARNING: Duplicate export.
lib/firebase_storage_hooks.dart:11:8
╷
11 │ export 'package:firebase_storage_hooks/src/models/files_handler.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/firebase_storage_hooks.dart
WARNING: This function has a nullable return type of 'FutureOr
lib/src/files.dart:26:31
╷
26 │ Future<List<PlatformFile>?> select() async {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/files.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
file_picker |
^4.0.0 |
4.6.1 | 8.0.3 |
firebase_hooks_core |
^0.0.1 |
0.0.1+2 | 0.0.1+2 |
firebase_storage |
>=8.0.0 <11.0.0 |
10.3.11 | 11.7.4 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_hooks |
^0.18.0 |
0.18.6 | 0.20.5 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_flutterfire_internals |
- | 1.0.2 | 1.3.32 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
cloud_firestore_platform_interface |
- | 5.7.7 | 6.2.2 |
cloud_firestore_web |
- | 2.8.10 | 3.12.2 |
collection |
- | 1.18.0 | 1.18.0 |
fake_async |
- | 1.3.1 | 1.3.1 |
ffi |
- | 1.2.1 | 2.1.2 |
firebase_core |
- | 1.24.0 | 2.30.1 |
firebase_core_platform_interface |
- | 4.8.0 | 5.0.0 |
firebase_core_web |
- | 1.7.3 | 2.16.0 |
firebase_storage_platform_interface |
- | 4.1.19 | 5.1.19 |
firebase_storage_web |
- | 3.3.9 | 3.9.4 |
flutter_plugin_android_lifecycle |
- | 2.0.19 | 2.0.19 |
flutter_test |
- | 0.0.0 | 0.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 0.13.6 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
leak_tracker |
- | 10.0.0 | 10.0.5 |
leak_tracker_flutter_testing |
- | 2.0.1 | 3.0.5 |
leak_tracker_testing |
- | 2.0.1 | 3.0.1 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.6.1 | 0.7.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
vm_service |
- | 13.0.0 | 14.2.1 |
win32 |
- | 2.6.1 | 5.5.0 |
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.0.0` on file_picker does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions file_picker
to update the constraint.
The constraint `>=8.0.0 <11.0.0` on firebase_storage does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions firebase_storage
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.