flutter_gb_authentication_fire_social 0.9.1 copy "flutter_gb_authentication_fire_social: ^0.9.1" to clipboard
flutter_gb_authentication_fire_social: ^0.9.1 copied to clipboard

A utility package when integrating authentication with social media (facebook,apple,google) using BLoC pattern

1
likes
90/ 160
pub points
48%
popularity

We analyzed this package 26 hours ago, and awarded it 90 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-2-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

81 out of 385 API elements (21.0 %) have documentation comments.

Some symbols that are missing documentation: advanced_bloc_builder, advanced_bloc_builder.AuthenticationAdvancedBlocBuilder, advanced_bloc_builder.AuthenticationAdvancedBlocBuilder.AuthenticationAdvancedBlocBuilder, advanced_bloc_builder.AuthenticationAdvancedBlocBuilder.builder, advanced_bloc_listener.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:flutter_gb_authentication_fire_social/flutter_gb_authentication_fire_social.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/infrastructure.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/services/services.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/services/authentication_social_service_impl.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_gb_authentication_fire_social/flutter_gb_authentication_fire_social.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/infrastructure.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/services/services.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/services/authentication_social_service_impl.dart that imports:
  • package:sign_in_with_apple/sign_in_with_apple.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_gb_authentication_fire_social/flutter_gb_authentication_fire_social.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/infrastructure.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/facades/facades.dart that imports:
  • package:flutter_gb_authentication_fire_social/infrastructure/facades/google_sign_in_facade.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:flutter_gb_authentication_fire_social/flutter_gb_authentication_fire_social.dart that imports:
  • package:flutter_gb_authentication_fire_social/utils/utils.dart that imports:
  • package:flutter_gb_authentication_fire_social/utils/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

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.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 37 issues. Showing the first 2:

ERROR: 'AuthenticationFireSocialConfig.copyWith' ('AuthenticationFireSocialConfig Function({WebAuthenticationOptions? appleWebAuthentication, Uri Function(SocialProviderResponse)? authenticateAnonymouslyAPIendpoint, Uri Function(SocialProviderResponse)? authenticateAppleAPIendpoint, Uri Function(SocialProviderResponse)? authenticateFacebookAPIendpoint, Uri Function(SocialProviderResponse)? authenticateGoogleAPIendpoint, bool? authenticateOnSignup, bool? autoLogoutOnSessionExpired, FutureOr

lib/config/authentication_social_config.dart:177:34

    ╷
177 │   AuthenticationFireSocialConfig copyWith({
    │                                  ^^^^^^^^
    ╵

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

ERROR: The argument type 'String?' can't be assigned to the parameter type 'String'.

lib/infrastructure/facades/apple_sign_in_facade.dart:47:20

   ╷
47 │       accessToken: token,
   │                    ^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
corsac_jwt ^1.0.0-nullsafety.1 1.0.1 1.0.1
crypto ^3.0.2 3.0.6 3.0.6
dartz ^0.10.1 0.10.1 0.10.1
firebase_auth ^4.1.5 4.16.0 5.3.1
firebase_core ^2.3.0 2.32.0 3.6.0
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.0.1 8.1.6 8.1.6
flutter_facebook_auth ^5.0.6 5.0.11 7.1.1
flutter_gb_authentication_basic ^1.1.1 1.2.8 3.10.0
flutter_gb_stack_base ^1.0.1 1.2.1 2.0.1
freezed_annotation ^2.1.0 2.4.4 2.4.4
get_it ^7.2.0 7.7.0 8.0.1
google_sign_in ^5.4.2 5.4.4 6.2.1
http ^0.13.5 0.13.6 1.2.2
logger ^1.3.0 1.4.0 2.4.0
mockito ^5.1.0 5.4.4 5.4.4
rxdart ^0.27.7 0.27.7 0.28.0
shared_preferences ^2.1.0 2.3.2 2.3.2
sign_in_with_apple ^4.1.0 4.3.0 6.1.3
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 76.0.0
_flutterfire_internals - 1.3.35 1.3.44
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.11.0
args - 2.6.0 2.6.0
asn1lib - 1.5.5 1.5.6
async - 2.11.0 2.12.0
auth_http_client - 1.3.1 1.3.1
auto_route - 5.0.4 9.2.2
bloc - 8.1.4 8.1.4
boolean_selector - 2.1.1 2.1.2
build - 2.4.1 2.4.1
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.1
code_builder - 4.10.0 4.10.0
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
dart_style - 2.3.7 2.3.7
facebook_auth_desktop - 0.0.9 2.1.1
fake_async - 1.3.1 1.3.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
firebase_auth_platform_interface - 7.3.0 7.4.7
firebase_auth_web - 5.8.13 5.13.2
firebase_core_platform_interface - 5.3.0 5.3.0
firebase_core_web - 2.18.1 2.18.1
fixnum - 1.1.1 1.1.1
flutter_facebook_auth_platform_interface - 4.1.1 6.1.2
flutter_facebook_auth_web - 4.1.1 6.1.2
flutter_gb_built_utils - 1.0.1 1.0.1
flutter_secure_storage - 8.1.0 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 - 2.1.1 3.1.2
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
gb_flutils - 3.0.0 3.0.0
glob - 2.1.2 2.1.2
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.10.2+1 0.12.4+2
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
json_http_client - 1.2.0 1.2.0
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
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.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
nested - 1.0.0 1.0.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
provider - 6.1.2 6.1.2
pub_semver - 2.1.4 2.1.4
rsa_pkcs - 2.1.0 2.1.0
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sign_in_with_apple_platform_interface - 1.1.0 1.1.0
sign_in_with_apple_web - 1.0.1 2.1.0
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
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
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
vm_service - 14.2.5 14.3.1
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

Found 11 issues. Showing the first 2:

The constraint `^4.1.5` on firebase_auth does not support the stable version `5.0.0`.

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

The constraint `^2.3.0` on firebase_core does not support the stable version `3.0.0`.

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

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

Check the analysis log for details.