halo_auth 0.0.8 copy "halo_auth: ^0.0.8" to clipboard
halo_auth: ^0.0.8 copied to clipboard

A Multi-Platform Authentication Plugin

105/ 160
pub points
42
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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 ("0.0.8").

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting halo_auth... Discovering libraries... Linking elements... Precaching local docs for 1379167 elements... Initialized dartdoc with 1448 libraries Generating docs for library domain/entities/device_info.dart from package:halo_auth/domain/entities/device_info.dart... Generating docs for library domain/entities/auth_tokens.dart from package:halo_auth/domain/entities/auth_tokens.dart... Generating docs for library domain/usecases/authenticate_use_case.dart from package:halo_auth/domain/usecases/authenticate_use_case.dart... Generating docs for library domain/repositories/auth_repository.dart from package:halo_auth/domain/repositories/auth_repository.dart... Generating docs for library halo_auth_export.dart from package:halo_auth/halo_auth_export.dart... [17 more lines] ERR: error: file already written at "halo_auth/index.html" for symbol halo_auth: (file:///tmp/pana_GNZIDA/lib/halo_auth.dart:1:1) conflicting with file already generated by halo_auth: (file:///tmp/pana_GNZIDA/lib/halo_auth_export.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'halo_auth' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc directive in one symbol's documentation comment to hide it. error: file already written at "halo_auth/halo_auth-library.html" [12 more lines]

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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:halo_auth/halo_auth.dart that imports:
  • package:halo_auth/core/di/dependency_injection.dart that imports:
  • package:halo_auth/data/datasources/platform/device_info_data_source.dart that imports:
  • package:halo_auth/data/datasources/platform/windows_registry_data_source.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:halo_auth/halo_auth.dart that imports:
  • package:halo_auth/core/di/dependency_injection.dart that imports:
  • package:halo_auth/data/datasources/platform/device_info_data_source.dart that imports:
  • package:halo_auth/data/datasources/platform/windows_registry_data_source.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:halo_auth/halo_auth.dart that imports:
  • package:halo_auth/core/di/dependency_injection.dart that imports:
  • package:halo_auth/data/datasources/platform/device_info_data_source.dart that imports:
  • package:halo_auth/data/datasources/platform/windows_registry_data_source.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:halo_auth/halo_auth.dart that imports:
  • package:halo_auth/core/di/dependency_injection.dart that imports:
  • package:halo_auth/data/datasources/platform/device_info_data_source.dart that imports:
  • package:halo_auth/data/datasources/platform/windows_registry_data_source.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:halo_auth/halo_auth.dart that imports:
  • package:halo_auth/core/di/dependency_injection.dart that imports:
  • package:halo_auth/data/datasources/platform/device_info_data_source.dart that imports:
  • package:halo_auth/data/datasources/platform/windows_registry_data_source.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:halo_auth/halo_auth.dart that imports:
  • package:halo_auth/core/di/dependency_injection.dart that imports:
  • package:halo_auth/data/datasources/platform/device_info_data_source.dart that imports:
  • package:halo_auth/data/datasources/platform/windows_registry_data_source.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Swift Package Manager support:

Package does not support the Swift Package Manager on macOS

The package does not contain macos/halo_auth/Package.swift.

Package does not support the Swift Package Manager on iOS

The package does not contain ios/halo_auth/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

INFO: 'KEY_READ' is deprecated and shouldn't be used. Use KEY_READ instead.

lib/data/datasources/platform/windows_registry_data_source.dart:36:23

   ╷
36 │         REG_SAM_FLAGS.KEY_READ,
   │                       ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/datasources/platform/windows_registry_data_source.dart

INFO: 'ERROR_SUCCESS' is deprecated and shouldn't be used. Use ERROR_SUCCESS instead.

lib/data/datasources/platform/windows_registry_data_source.dart:40:37

   ╷
40 │       if (openResult != WIN32_ERROR.ERROR_SUCCESS) {
   │                                     ^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/data/datasources/platform/windows_registry_data_source.dart

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

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

Package Constraint Compatible Latest Notes
dio ^5.4.0 5.9.2 5.9.2
ffi ^2.1.0 2.2.0 2.2.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
web ^1.0.0 1.1.1 1.1.1
win32 ^5.5.0 5.15.0 6.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
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.2.0 2.3.0

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

The constraint `^5.5.0` on win32 does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions win32 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.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
42
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Multi-Platform Authentication Plugin

License

MIT (license)

Dependencies

dio, ffi, flutter, flutter_web_plugins, plugin_platform_interface, web, win32

More

Packages that depend on halo_auth

Packages that implement halo_auth