firebase_storage 9.0.0 copy "firebase_storage: ^9.0.0" to clipboard
firebase_storage: ^9.0.0 copied to clipboard

outdated

Flutter plugin for Firebase Cloud Storage, a powerful, simple, and cost-effective object storage service for Android and iOS.

1.7k
likes
70/ 160
pub points
432k
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

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,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/firebase_storage/firebase_storage/pubspec.yaml from the repository URL mismatch: expected https://github.com/FirebaseExtended/flutterfire but got https://github.com/firebase/flutterfire.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

105 out of 107 API elements (98.1 %) have documentation comments.

Some symbols that are missing documentation: firebase_storage, firebase_storage.FullMetadata.FullMetadata.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • 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/firebase_storage.dart that declares support for platforms: Android, iOS, macOS, 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_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

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 10 issues. Showing the first 2:

ERROR: The method 'hashValues' isn't defined for the type 'FirebaseStorage'.

lib/src/firebase_storage.dart:187:23

    ╷
187 │   int get hashCode => hashValues(app.name, bucket);
    │                       ^^^^^^^^^^
    ╵

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

ERROR: The method 'hashValues' isn't defined for the type 'Reference'.

lib/src/reference.dart:204:23

    ╷
204 │   int get hashCode => hashValues(storage, fullPath);
    │                       ^^^^^^^^^^
    ╵

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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
firebase_core ^1.3.0 1.19.0 3.13.0
firebase_core_platform_interface ^4.0.1 4.4.1 5.4.0
firebase_storage_platform_interface ^3.0.0 3.0.0 5.2.5
firebase_storage_web ^2.0.0 2.0.0 3.10.12
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
firebase_core_web - 1.6.5 2.22.0
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.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
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5

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

Found 4 issues. Showing the first 2:

The constraint `^1.3.0` on firebase_core does not support the stable version `2.0.0`.

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

The constraint `^4.0.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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_METHOD - lib/src/firebase_storage.dart:187:23 - The method 'hashValues' isn't defined for the type 'FirebaseStorage'.
  • UNDEFINED_METHOD - lib/src/reference.dart:204:23 - The method 'hashValues' isn't defined for the type 'Reference'.
  • UNDEFINED_METHOD - lib/src/task_snapshot.dart:48:23 - The method 'hashValues' isn't defined for the type 'TaskSnapshot'.

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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1.7k
likes
70
points
432k
downloads

Publisher

verified publisherfirebase.google.com

Weekly Downloads

Flutter plugin for Firebase Cloud Storage, a powerful, simple, and cost-effective object storage service for Android and iOS.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

firebase_core, firebase_core_platform_interface, firebase_storage_platform_interface, firebase_storage_web, flutter

More

Packages that depend on firebase_storage