ns_firebase_utils 1.1.4 copy "ns_firebase_utils: ^1.1.4" to clipboard
ns_firebase_utils: ^1.1.4 copied to clipboard

This package provides a comprehensive set of methods and extensions for Firebase, simplifying its integration into your Flutter projects while also adding valuable functionality.

6
likes
150/ 160
pub points
83
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

86 out of 161 API elements (53.4 %) have documentation comments.

Some symbols that are missing documentation: analytics_service, analytics_service.AppAnalytics, analytics_service.AppAnalytics.AppAnalytics, analytics_service.AppAnalytics.isSupported, analytics_service.AppAnalytics.log.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:ns_firebase_utils/analytics/analytics_service.dart that imports:
  • package:firebase_analytics/firebase_analytics.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:ns_firebase_utils/analytics/analytics_service.dart that imports:
  • package:ns_firebase_utils/src.dart that imports:
  • package:firebase_core/firebase_core.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package not compatible with platform Web

Because:

  • package:ns_firebase_utils/analytics/analytics_service.dart that imports:
  • package:firebase_analytics/firebase_analytics.dart that imports:
  • package:firebase_analytics_platform_interface/firebase_analytics_platform_interface.dart that imports:
  • package:firebase_analytics_platform_interface/src/method_channel/method_channel_firebase_analytics.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ns_firebase_utils/analytics/analytics_service.dart that imports:
  • package:firebase_analytics/firebase_analytics.dart that imports:
  • package:firebase_analytics_platform_interface/firebase_analytics_platform_interface.dart that imports:
  • package:firebase_analytics_platform_interface/src/method_channel/method_channel_firebase_analytics.dart that imports:
  • dart:io

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/analytics/analytics_service.dart:54:7

   ╷
54 │ ┌       throw CustomException(
55 │ │         code: 'not_initialized',
56 │ │         message: 'Please Initialized NSFirebase',
57 │ └       );
   ╵

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

INFO: 'setCurrentScreen' is deprecated and shouldn't be used. setCurrentScreen() has been deprecated. Please use logScreenView().

lib/analytics/analytics_service.dart:165:30

    ╷
165 │     await _firebaseAnalytics.setCurrentScreen(
    │                              ^^^^^^^^^^^^^^^^
    ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cloud_firestore ^5.0.2 5.6.0 5.6.0
cloud_functions ^5.0.2 5.2.0 5.2.0
fake_cloud_firestore ^3.0.1 3.1.0 3.1.0
firebase_analytics ^11.1.0 11.3.6 11.3.6
firebase_auth ^5.1.1 5.3.4 5.3.4
firebase_core ^3.1.1 3.9.0 3.9.0
firebase_crashlytics ^4.0.2 4.2.0 4.2.0
firebase_dynamic_links ^6.0.2 6.0.11 6.0.11
firebase_messaging ^15.0.2 15.1.6 15.1.6
firebase_remote_config ^5.0.2 5.2.0 5.2.0
firebase_storage ^12.1.0 12.3.7 12.3.7
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.48 1.3.48
antlr4 - 4.13.2 4.13.2
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
cel - 0.5.3 0.5.3
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
cloud_firestore_platform_interface - 6.6.0 6.6.0
cloud_firestore_web - 4.4.0 4.4.0
cloud_functions_platform_interface - 5.5.40 5.5.40
cloud_functions_web - 4.10.5 4.10.5
collection - 1.19.0 1.19.1
equatable - 2.0.7 2.0.7
fake_async - 1.3.1 1.3.2
fake_firebase_security_rules - 0.5.3 0.5.3
firebase_analytics_platform_interface - 4.2.8 4.2.8
firebase_analytics_web - 0.5.10+5 0.5.10+5
firebase_auth_platform_interface - 7.4.10 7.4.10
firebase_auth_web - 5.13.5 5.13.5
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.19.0 2.19.0
firebase_crashlytics_platform_interface - 3.7.0 3.7.0
firebase_dynamic_links_platform_interface - 0.2.6+47 0.2.6+47
firebase_messaging_platform_interface - 4.5.49 4.5.49
firebase_messaging_web - 3.9.5 3.9.5
firebase_remote_config_platform_interface - 1.4.47 1.4.47
firebase_remote_config_web - 1.7.5 1.7.5
firebase_storage_platform_interface - 5.1.34 5.1.34
firebase_storage_web - 3.10.6 3.10.6
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
logger - 2.5.0 2.5.0
logging - 1.3.0 1.3.0
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mock_exceptions - 0.8.2 0.8.2
more - 4.4.0 4.5.0
path - 1.9.0 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.2 3.2.2
rx - 0.4.0 0.4.0
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.0 1.10.1
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
string_scanner - 1.3.0 1.4.1
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.0
web - 1.1.0 1.1.0

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

6
likes
150
points
83
downloads

Publisher

verified publisherdart.nonstopio.com

Weekly Downloads

This package provides a comprehensive set of methods and extensions for Firebase, simplifying its integration into your Flutter projects while also adding valuable functionality.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cloud_firestore, cloud_functions, fake_cloud_firestore, firebase_analytics, firebase_auth, firebase_core, firebase_crashlytics, firebase_dynamic_links, firebase_messaging, firebase_remote_config, firebase_storage, flutter

More

Packages that depend on ns_firebase_utils