cloud_firestore 2.5.4 copy "cloud_firestore: ^2.5.4" to clipboard
cloud_firestore: ^2.5.4 copied to clipboard

outdated

Flutter plugin for Cloud Firestore, a cloud-hosted, noSQL database with live synchronization and offline support on Android and iOS.

70/ 160
pub points
786k
downloads

We analyzed this package 20 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.

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

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

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

162 out of 185 API elements (87.6 %) have documentation comments.

Some symbols that are missing documentation: cloud_firestore, cloud_firestore.CollectionReference, cloud_firestore.CollectionReference.CollectionReference.new, cloud_firestore.DocumentChange.DocumentChange.new, cloud_firestore.DocumentReference.DocumentReference.new.

Passed check 10/10 points: Package has an example

Passed 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:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:cloud_firestore/cloud_firestore.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:cloud_firestore/cloud_firestore.dart that imports:
  • package:firebase_core_platform_interface/firebase_core_platform_interface.dart that imports:
  • package:firebase_core_platform_interface/src/pigeon/test_api.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io
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 27 issues. Showing the first 2:

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

lib/src/collection_reference.dart:144:23

    ╷
144 │   int get hashCode => hashValues(firestore, path);
    │                       ^^^^^^^^^^
    ╵

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

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

lib/src/collection_reference.dart:222:23

    ╷
222 │   int get hashCode => hashValues(
    │                       ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/collection_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
cloud_firestore_platform_interface ^5.4.3 5.7.7 7.0.5
cloud_firestore_web ^2.4.4 2.8.10 5.1.1
collection ^1.0.0 1.19.1 1.19.1
firebase_core ^1.8.0 1.24.0 4.3.0
firebase_core_platform_interface ^4.0.1 4.8.0 6.0.2
meta ^1.3.0 1.17.0 1.17.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.0.2 1.3.65
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
fake_async - 1.3.3 1.3.3
firebase_core_web - 1.7.3 3.3.1
js - 0.6.7 0.7.2 Discontinued
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 4 issues. Showing the first 2:

The constraint `^5.4.3` on cloud_firestore_platform_interface does not support the stable version `6.0.0`.

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

The constraint `^2.4.4` on cloud_firestore_web does not support the stable version `3.0.0`.

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

  • UNDEFINED_METHOD - lib/src/collection_reference.dart:144:23 - The method 'hashValues' isn't defined for the type '_JsonCollectionReference'.
  • UNDEFINED_METHOD - lib/src/collection_reference.dart:222:23 - The method 'hashValues' isn't defined for the type '_WithConverterCollectionReference'.
  • UNDEFINED_METHOD - lib/src/document_reference.dart:193:23 - The method 'hashValues' isn't defined for the type '_JsonDocumentReference'.

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.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3.75k
likes
70
points
786k
downloads

Publisher

verified publisherfirebase.google.com

Weekly Downloads

Flutter plugin for Cloud Firestore, a cloud-hosted, noSQL database with live synchronization and offline support on Android and iOS.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cloud_firestore_platform_interface, cloud_firestore_web, collection, firebase_core, firebase_core_platform_interface, flutter, meta

More

Packages that depend on cloud_firestore

Packages that implement cloud_firestore