firebase_model_notifier 0.15.1+22 copy "firebase_model_notifier: ^0.15.1+22" to clipboard
firebase_model_notifier: ^0.15.1+22 copied to clipboard

discontinued

ModelNotifier package for Firebase. When you listen in Firestore, you can tell riverpod and others about the update.

2
likes
110/ 160
pub points
81
downloads

We analyzed this package 2 days ago, and awarded it 110 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_model_notifier,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: firebase_model_notifier.

Repository URL doesn't exist.

At the time of the analysis https://github.com/mathrunet/flutter_masamune/tree/master/packages/firebase_model_notifier was unreachable. Make sure that the website is reachable via HEAD requests.

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

4241 out of 4418 API elements (96.0 %) have documentation comments.

Some symbols that are missing documentation: firebase_model_notifier.AgesExtensions, firebase_model_notifier.ApiDynamicCollectionModel, firebase_model_notifier.ApiDynamicCollectionModel.ApiDynamicCollectionModel.new, firebase_model_notifier.ApiDynamicDocumentModel, firebase_model_notifier.ApiDynamicDocumentModel.ApiDynamicDocumentModel.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_model_notifier/firebase_model_notifier.dart that imports:
  • package:model_notifier/model_notifier.dart that imports:
  • package:model_notifier/src/mobile/mobile.dart that imports:
  • package:katana_flutter/katana_flutter.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_linux.dart that imports:
  • package:url_launcher_linux/url_launcher_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:firebase_model_notifier/firebase_model_notifier.dart that imports:
  • package:model_notifier/model_notifier.dart that imports:
  • package:model_notifier/src/mobile/mobile.dart that imports:
  • package:katana_flutter/katana_flutter.dart that imports:
  • package:katana_flutter/config/mobile/mobile.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

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_model_notifier/firebase_model_notifier.dart that imports:
  • package:model_notifier/model_notifier.dart that imports:
  • package:model_notifier/src/mobile/mobile.dart that imports:
  • package:katana_flutter/katana_flutter.dart that imports:
  • package:katana_flutter/config/mobile/mobile.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:firebase_model_notifier/firebase_model_notifier.dart that imports:
  • package:model_notifier/model_notifier.dart that imports:
  • package:model_notifier/src/mobile/mobile.dart that imports:
  • package:katana_flutter/katana_flutter.dart that imports:
  • package:katana_flutter/config/mobile/mobile.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:firebase_model_notifier/firebase_model_notifier.dart that imports:
  • package:model_notifier/model_notifier.dart that imports:
  • package:model_notifier/src/mobile/mobile.dart that imports:
  • package:katana_flutter/katana_flutter.dart that imports:
  • package:katana_flutter/config/mobile/mobile.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:firebase_model_notifier/firebase_model_notifier.dart that imports:
  • package:model_notifier/model_notifier.dart that imports:
  • package:model_notifier/src/others/others.dart that imports:
  • package:katana_flutter/katana_flutter.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_web.dart that imports:
  • package:share_plus_platform_interface/share_plus_platform_interface.dart that imports:
  • package:share_plus_platform_interface/platform_interface/share_plus_platform.dart that imports:
  • package:share_plus_platform_interface/method_channel/method_channel_share.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_model_notifier/firebase_model_notifier.dart that imports:
  • package:model_notifier/model_notifier.dart that imports:
  • package:model_notifier/src/others/others.dart that imports:
  • package:katana_flutter/katana_flutter.dart that imports:
  • package:katana_flutter/config/others/others.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwbemservices.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 83 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/firestore/extensions.dart:1:1

  ╷
1 │ part of firebase_model_notifier;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'MetaConst' is deprecated and shouldn't be used.

lib/firestore/extensions.dart:17:22

   ╷
17 │     String timeKey = MetaConst.pushTime,
   │                      ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/firestore/extensions.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 any 3.2.0 5.6.6
cloud_functions any 3.3.0 5.4.0
katana_firebase ^0.15.0 0.15.0+13 2.2.16
model_notifier ^0.15.0 0.15.1+16 0.15.1+16 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.3 1.6.3
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
cloud_firestore_platform_interface - 5.7.5 6.6.6
cloud_firestore_web - 2.6.18 4.4.6
cloud_functions_platform_interface - 5.1.19 5.6.5
cloud_functions_web - 4.2.17 4.10.11
collection - 1.19.1 1.19.1
connectivity_plus - 2.3.9 6.1.4
connectivity_plus_linux - 1.3.1 1.3.1 Discontinued
connectivity_plus_macos - 1.2.6 1.2.6 Discontinued
connectivity_plus_platform_interface - 1.2.4 2.0.1
connectivity_plus_web - 1.2.5 1.2.5 Discontinued
connectivity_plus_windows - 1.2.2 1.2.2 Discontinued
convert - 3.1.2 3.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
csv - 5.1.1 6.0.0
dbus - 0.7.11 0.7.11
device_info_plus - 8.2.2 11.4.0
device_info_plus_platform_interface - 7.0.2 7.0.2
encrypt - 5.0.3 5.0.3
ffi - 2.1.4 2.1.4
file - 6.1.4 7.0.1
firebase_core - 1.19.0 3.13.0
firebase_core_platform_interface - 4.4.1 5.4.0
firebase_core_web - 1.6.5 2.22.0
font_awesome_flutter - 10.8.0 10.8.0
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
intl - 0.17.0 0.20.2
js - 0.6.7 0.7.2 Discontinued
katana - 0.15.10+3 2.18.1
katana_flutter - 0.15.0+18 0.15.0+18 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
nm - 0.5.0 0.5.0
package_info_plus - 3.1.2 8.3.0
package_info_plus_platform_interface - 2.0.1 3.2.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
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
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
recase - 4.1.0 4.1.0
share_plus - 6.3.4 11.0.0
share_plus_platform_interface - 3.4.0 6.0.0
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
win32 - 3.1.4 5.12.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^0.15.0` on katana_firebase does not support the stable version `1.1.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • model_notifier.

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 9 errors:

  • UNDEFINED_METHOD - lib/firestore/firestore_collection_model.dart:384:21 - The method 'fromMap' isn't defined for the type '
  • UNDEFINED_METHOD - lib/firestore/firestore_collection_model.dart:393:21 - The method 'fromMap' isn't defined for the type '
  • UNDEFINED_METHOD - lib/firestore/firestore_collection_model.dart:460:23 - The method 'fromMap' isn't defined for the type '

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:
2
likes
110
points
81
downloads

Publisher

verified publishermathru.net

Weekly Downloads

ModelNotifier package for Firebase. When you listen in Firestore, you can tell riverpod and others about the update.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cloud_firestore, cloud_functions, flutter, katana_firebase, model_notifier

More

Packages that depend on firebase_model_notifier