Skip to main content

auth_logic 1.0.1 copy "auth_logic: ^1.0.1" to clipboard
auth_logic: ^1.0.1 copied to clipboard

Production-ready Flutter auth package with MVVM + Cubit. Login, register, OTP, token refresh, retry, and colored network logs.

145/ 160
pub points
222
downloads

We analyzed this package 3 hours ago, and awarded it 145 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

140 out of 410 API elements (34.1 %) have documentation comments.

Some symbols that are missing documentation: auth_logic.ApiClient, auth_logic.ApiClient.ApiClient.new, auth_logic.ApiClient.delete, auth_logic.ApiClient.get, auth_logic.ApiClient.patch.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:auth_logic/auth_logic.dart that imports:
  • package:auth_logic/src/core/utils/fcm_helper.dart that imports:
  • package:firebase_messaging/firebase_messaging.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:auth_logic/auth_logic.dart that imports:
  • package:auth_logic/src/core/utils/fcm_helper.dart that imports:
  • package:firebase_messaging/firebase_messaging.dart that declares support for platforms: Android, iOS, macOS, Web.
Package not compatible with platform Web

Because:

  • package:auth_logic/auth_logic.dart that imports:
  • package:auth_logic/src/core/utils/device_helper.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • dart:io

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:auth_logic/auth_logic.dart that imports:
  • package:auth_logic/src/core/utils/device_helper.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:auth_logic/auth_logic.dart that imports:
  • package:auth_logic/src/core/utils/device_helper.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:auth_logic/auth_logic.dart that imports:
  • package:auth_logic/src/core/utils/device_helper.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
device_info_plus ^13.2.0 13.3.0 13.3.0
dio ^5.11.0 5.11.1 5.11.1
equatable ^2.1.0 2.1.0 3.0.0
firebase_core ^4.14.0 4.15.2 5.1.0
firebase_messaging ^16.6.0 16.7.1 17.0.1
flutter_bloc ^9.1.1 9.1.1 9.1.1
google_sign_in ^7.2.0 7.2.0 7.2.0
image_picker ^1.2.3 1.2.4 1.2.4
phone_numbers_parser ^9.0.26 9.0.28 9.0.28
shared_preferences ^2.5.5 2.5.6 2.5.6
sign_in_with_apple ^8.2.0 8.2.0 8.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_flutterfire_internals - 1.3.77 1.3.79
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
bloc - 9.2.1 9.2.1
characters - 1.4.1 1.4.1
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
cross_file - 0.3.5+5 0.4.0
crypto - 3.0.7 3.0.7
device_info_plus_platform_interface - 8.1.0 8.1.0
dio_web_adapter - 2.2.2 2.2.2
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4+1 0.9.4+1
file_selector_macos - 0.9.5+2 0.9.5+2
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+6 0.9.3+6
firebase_core_platform_interface - 8.1.1 8.1.1
firebase_core_web - 3.12.0 4.1.0
firebase_messaging_platform_interface - 4.10.0 4.11.1
firebase_messaging_web - 4.2.5 4.3.1
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 7.2.18 7.2.18
google_sign_in_ios - 6.3.8 6.3.8
google_sign_in_platform_interface - 3.1.0 3.1.0
google_sign_in_web - 1.1.3 1.1.3
hooks - 2.2.0 2.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+25 0.8.13+25
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+13 0.8.13+13
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.2 2.11.2
image_picker_windows - 0.2.2 0.2.2
jni - 1.1.0 1.1.0
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
nested - 1.0.0 1.0.0
objective_c - 9.6.2 9.6.2
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
shared_preferences_android - 2.5.3 2.5.3
shared_preferences_foundation - 2.6.0 2.6.0
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
sign_in_with_apple_platform_interface - 2.0.0 2.0.0
sign_in_with_apple_web - 3.0.0 3.0.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.3 2.4.3
web - 1.1.2 1.1.2
win32 - 6.4.0 6.4.0
win32_registry - 3.0.3 3.0.3
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

Found 3 issues. Showing the first 2:

The constraint `^2.1.0` on equatable does not support the stable version `3.0.0`.

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

The constraint `^4.14.0` on firebase_core does not support the stable version `5.0.0`, that was published 8 days ago.

When firebase_core is 30 days old, this package will no longer be awarded points in this category.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
145
points
222
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Production-ready Flutter auth package with MVVM + Cubit. Login, register, OTP, token refresh, retry, and colored network logs.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

device_info_plus, dio, equatable, firebase_core, firebase_messaging, flutter, flutter_bloc, google_sign_in, image_picker, phone_numbers_parser, shared_preferences, sign_in_with_apple

More

Packages that depend on auth_logic