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
48%
popularity

We analyzed this package 8 hours 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:ns_firebase_utils/src.dart that imports:
  • package:firebase_core/firebase_core.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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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 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

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.5.0 5.5.0
cloud_functions ^5.0.2 5.1.5 5.1.5
fake_cloud_firestore ^3.0.1 3.1.0 3.1.0
firebase_analytics ^11.1.0 11.3.5 11.3.5
firebase_auth ^5.1.1 5.3.3 5.3.3
firebase_core ^3.1.1 3.8.0 3.8.0
firebase_crashlytics ^4.0.2 4.1.5 4.1.5
firebase_dynamic_links ^6.0.2 6.0.10 6.0.10
firebase_messaging ^15.0.2 15.1.5 15.1.5
firebase_remote_config ^5.0.2 5.1.5 5.1.5
firebase_storage ^12.1.0 12.3.6 12.3.6
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.46 1.3.46
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.3.1
clock - 1.1.1 1.1.2
cloud_firestore_platform_interface - 6.5.0 6.5.0
cloud_firestore_web - 4.3.4 4.3.4
cloud_functions_platform_interface - 5.5.39 5.5.39
cloud_functions_web - 4.10.4 4.10.4
collection - 1.18.0 1.19.1
equatable - 2.0.6 2.0.6
fake_async - 1.3.1 1.3.2
fake_firebase_security_rules - 0.5.3 0.5.3
firebase_analytics_platform_interface - 4.2.7 4.2.7
firebase_analytics_web - 0.5.10+4 0.5.10+4
firebase_auth_platform_interface - 7.4.9 7.4.9
firebase_auth_web - 5.13.4 5.13.4
firebase_core_platform_interface - 5.3.0 5.3.0
firebase_core_web - 2.18.1 2.18.1
firebase_crashlytics_platform_interface - 3.6.46 3.6.46
firebase_dynamic_links_platform_interface - 0.2.6+46 0.2.6+46
firebase_messaging_platform_interface - 4.5.48 4.5.48
firebase_messaging_web - 3.9.4 3.9.4
firebase_remote_config_platform_interface - 1.4.46 1.4.46
firebase_remote_config_web - 1.7.4 1.7.4
firebase_storage_platform_interface - 5.1.33 5.1.33
firebase_storage_web - 3.10.5 3.10.5
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.0.2 4.1.1
leak_tracker - 10.0.5 10.0.8
leak_tracker_flutter_testing - 3.0.5 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.4.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.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.3
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.2.5 14.3.1
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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

6
likes
150
pub points
48%
popularity

Publisher

verified publisherdart.nonstopio.com

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