local_auth_ohos 1.0.0 copy "local_auth_ohos: ^1.0.0" to clipboard
local_auth_ohos: ^1.0.0 copied to clipboard

HarmonyOS local authentication (fingerprint / face / device PIN) implementation for local_auth, backed by the UserIAM userAuth kit (@ohos.userIAM.userAuth).

100/ 160
pub points
66
downloads

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

Failed report section
Follow Dart file conventions
20 / 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

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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

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

8 out of 9 API elements (88.9 %) have documentation comments.

Some symbols that are missing documentation: local_auth_ohos.LocalAuthOhos.LocalAuthOhos.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:local_auth_ohos/local_auth_ohos.dart that declares support for platforms: .
Package does not support platform `iOS`.

Because:

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

Because:

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

Because:

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

Because:

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

Because:

  • package:local_auth_ohos/local_auth_ohos.dart that declares support for platforms: .
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

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

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

Package Constraint Compatible Latest Notes
local_auth_platform_interface ^1.0.7 1.1.0 1.1.0
plugin_platform_interface ^2.1.7 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.2 2.4.2

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 10 errors:

  • UNDEFINED_METHOD - lib/local_auth_ohos.dart:43:13 - The method 'LocalAuthException' isn't defined for the type 'LocalAuthOhos'.
  • UNDEFINED_CLASS - lib/local_auth_ohos.dart:85:3 - Undefined class 'LocalAuthExceptionCode'.
  • UNDEFINED_IDENTIFIER - lib/local_auth_ohos.dart:88:16 - Undefined name 'LocalAuthExceptionCode'.

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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
66
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

HarmonyOS local authentication (fingerprint / face / device PIN) implementation for local_auth, backed by the UserIAM userAuth kit (@ohos.userIAM.userAuth).

Repository (GitHub)
View/report issues

Topics

#authentication #biometrics #harmonyos #ohos

License

unknown (license)

Dependencies

flutter, local_auth_platform_interface, plugin_platform_interface

More

Packages that depend on local_auth_ohos

Packages that implement local_auth_ohos