firebase_dart_flutter 1.1.9 copy "firebase_dart_flutter: ^1.1.9" to clipboard
firebase_dart_flutter: ^1.1.9 copied to clipboard

PlatformAndroid

A port of the Firebase database, auth and storage client to pure Dart code for use on flutter

1
likes
120/ 160
pub points
67%
popularity

We analyzed this package 11 hours ago, and awarded it 120 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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

0 out of 4 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: firebase_dart_flutter, firebase_dart_flutter.FirebaseDartFlutter, firebase_dart_flutter.FirebaseDartFlutter.FirebaseDartFlutter, firebase_dart_flutter.FirebaseDartFlutter.setup.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:firebase_dart_flutter/firebase_dart_flutter.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:firebase_dart_flutter/firebase_dart_flutter.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

  • package:firebase_dart_flutter/firebase_dart_flutter.dart that declares support for platforms: Android.
Package does not support platform `macOS`.

Because:

  • package:firebase_dart_flutter/firebase_dart_flutter.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:firebase_dart_flutter/firebase_dart_flutter.dart that declares support for platforms: Android.

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_dart_flutter/firebase_dart_flutter.dart that imports:
  • package:firebase_dart_flutter/src/auth_handlers.dart that imports:
  • package:flutter_apns_only/flutter_apns_only.dart that declares support for platforms: iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:firebase_dart_flutter/firebase_dart_flutter.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_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

INFO: 'PROVIDER_ID' is deprecated and shouldn't be used. Replaced by lower camel case identifier `id`.

lib/src/auth_handlers.dart:19:54

   ╷
19 │   FacebookAuthHandler() : super(FacebookAuthProvider.PROVIDER_ID);
   │                                                      ^^^^^^^^^^^
   ╵

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

INFO: 'PROVIDER_ID' is deprecated and shouldn't be used. Replaced by lower camel case identifier `id`.

lib/src/auth_handlers.dart:46:50

   ╷
46 │   GoogleAuthHandler() : super(GoogleAuthProvider.PROVIDER_ID);
   │                                                  ^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
crypto ^3.0.3 3.0.6 3.0.6
firebase_dart ^1.2.2 1.2.2 1.2.2
flutter flutter 0.0.0 0.0.0
flutter_apns_only ^1.0.0 1.6.0 1.6.0
flutter_facebook_auth ^7.0.0 7.1.1 7.1.1
google_sign_in ^6.0.0 6.2.1 6.2.1
hive ^2.0.0 2.2.3 2.2.3
logging ^1.0.2 1.3.0 1.3.0
package_info ^2.0.0 2.0.2 2.0.2
path_provider ^2.0.0 2.1.4 2.1.4
platform_info ^5.0.0 5.0.0 5.0.0
sign_in_with_apple ^6.0.0 6.1.3 6.1.3
uni_links ^0.5.1 0.5.1 0.5.1
uni_links_desktop ^0.1.3 0.1.7 0.1.7
url_launcher ^6.0.0 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.7 1.0.7
args - 2.6.0 2.6.0
asn1lib - 1.5.5 1.5.6
async - 2.12.0 2.12.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
convert - 3.1.2 3.1.2
crypto_keys - 0.3.0+1 0.3.0+1
expressions - 0.2.5+2 0.2.5+2
facebook_auth_desktop - 2.1.1 2.1.1
ffi - 2.1.3 2.1.3
firebaseapis - 0.2.0 0.2.0
fixnum - 1.1.1 1.1.1
flutter_facebook_auth_platform_interface - 6.1.2 6.1.2
flutter_facebook_auth_web - 6.1.2 6.1.2
flutter_secure_storage - 9.2.2 9.2.2
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.1+4 0.3.1+4
google_sign_in_android - 6.1.33 6.1.33
google_sign_in_ios - 5.7.8 5.7.8
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4+2 0.12.4+2
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.0
intl - 0.19.0 0.19.0
jose - 0.3.4 0.3.4
js - 0.6.7 0.7.1
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
openid_client - 0.4.8 0.4.8
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
rxdart - 0.28.0 0.28.0
sign_in_with_apple_platform_interface - 1.1.0 1.1.0
sign_in_with_apple_web - 2.1.0 2.1.0
sky_engine - 0.0.99 0.0.99
sortedmap - 0.5.4 0.5.4
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
uni_links_platform_interface - 1.0.0 1.0.0
uni_links_web - 0.1.0 0.1.0
url_launcher_android - 6.3.12 6.3.12
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.2 3.1.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
win32 - 5.6.0 5.6.0
win32_registry - 1.1.5 1.1.5
x509 - 0.2.4+3 0.2.4+3
xdg_directories - 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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • UNDEFINED_METHOD - lib/firebase_dart_flutter.dart:37:23 - The method 'launchUrl' isn't defined for the type 'FirebaseDartFlutter'.
  • UNDEFINED_IDENTIFIER - lib/firebase_dart_flutter.dart:37:44 - Undefined name 'LaunchMode'.
  • USE_OF_VOID_RESULT - lib/src/auth_handlers.dart:214:21 - This expression has a type of 'void' so its value can't be used.

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.13, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.