easy_firebase 0.1.1 copy "easy_firebase: ^0.1.1" to clipboard
easy_firebase: ^0.1.1 copied to clipboard

An useful tool to quickly use firebase functionalities in any flutter app.

70/ 160
pub points
65
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting easy_firebase... Discovering libraries... ERR: dartdoc 8.3.4 (/tmp/analyzerBFHWWX/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.9.2.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/pana_SQNFQW/lib/firestore'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:215:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:202:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:80:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:202:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:290:22)

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:easy_firebase/easy_firebase.dart that imports:
  • package:easy_firebase/rtdb/realtime_db.dart that imports:
  • package:firebase_database/firebase_database.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:easy_firebase/easy_firebase.dart that imports:
  • package:easy_firebase/storage/firestore_storage.dart that imports:
  • package:firebase_storage/firebase_storage.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:easy_firebase/easy_firebase.dart that imports:
  • package:easy_firebase/storage/firestore_storage.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:easy_firebase/easy_firebase.dart that imports:
  • package:easy_firebase/storage/firestore_storage.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:easy_firebase/easy_firebase.dart that imports:
  • package:easy_firebase/storage/firestore_storage.dart that imports:
  • package:file_picker/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:easy_firebase/easy_firebase.dart that imports:
  • package:easy_firebase/storage/firestore_storage.dart that imports:
  • package:file_picker/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.

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.cn/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 3 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'package:easy_firebase/firestore/firestore_func.dart'.

lib/easy_firebase.dart:4:8

  ╷
4 │ import 'package:easy_firebase/firestore/firestore_func.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: Undefined class 'FireStore'.

lib/easy_firebase.dart:14:3

   ╷
14 │   FireStore getFirestoreObject() {
   │   ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/easy_firebase.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 ^4.0.0 4.17.5 6.0.2
file_picker ^8.0.2 8.0.7 10.3.3
firebase_auth ^4.19.0 4.20.0 6.1.0
firebase_core ^2.30.0 2.32.0 4.1.1
firebase_database ^10.5.0 10.5.7 12.0.2
firebase_storage ^11.7.0 11.7.7 13.0.2
flutter_login_facebook ^2.0.0 2.0.1 2.0.1
google_sign_in ^6.2.0 6.3.0 7.2.0
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.0 2.1.5 2.1.5
permission_handler ^11.3.0 11.4.0 12.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.35 1.3.62
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
cloud_firestore_platform_interface - 6.2.5 7.0.2
cloud_firestore_web - 3.12.5 5.0.2
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
firebase_auth_platform_interface - 7.3.0 8.1.2
firebase_auth_web - 5.12.0 6.0.3
firebase_core_platform_interface - 5.4.2 6.0.1
firebase_core_web - 2.17.5 3.1.1
firebase_database_platform_interface - 0.2.5+35 0.2.6+13
firebase_database_web - 0.2.5+7 0.2.6+19
firebase_storage_platform_interface - 5.1.22 5.2.13
firebase_storage_web - 3.9.7 3.10.20
flutter_plugin_android_lifecycle - 2.0.30 2.0.30
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.2.0
google_sign_in_ios - 5.9.0 6.2.1
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.12.4+4 1.1.0
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
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
list_ext - 1.0.6 1.0.6
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.2 3.2.2
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.6 0.7.7
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
web - 0.5.1 1.1.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0

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

Found 8 issues. Showing the first 2:

The constraint `^4.0.0` on cloud_firestore does not support the stable version `5.0.0`.

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

The constraint `^8.0.2` on file_picker does not support the stable version `9.0.0`.

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

  • URI_DOES_NOT_EXIST - lib/easy_firebase.dart:4:8 - Target of URI doesn't exist: 'package:easy_firebase/firestore/firestore_func.dart'.
  • UNDEFINED_CLASS - lib/easy_firebase.dart:14:3 - Undefined class 'FireStore'.
  • UNDEFINED_METHOD - lib/easy_firebase.dart:15:12 - The method 'FireStore' isn't defined for the type 'EasyFire'.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: