native_authentication 0.1.5 copy "native_authentication: ^0.1.5" to clipboard
native_authentication: ^0.1.5 copied to clipboard

Native bindings for platform-specific authentication APIs like ASWebAuthenticationSession and Chrome Custom Tabs.

160/ 160
pub points
2.28k
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

Detected license: BSD-2-Clause-Patent.

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

77 out of 86 API elements (89.5 %) have documentation comments.

Some symbols that are missing documentation: native_authentication, native_authentication.CallbackSession.CallbackSession.new, native_authentication.NativeAuthCanceledException.id, native_authentication.OAuthCode, native_authentication.OAuthCode.OAuthCode.new.

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 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:native_authentication/native_authentication.dart that imports:
  • package:native_authentication/src/native_auth.platform_io.dart that imports:
  • package:native_authentication/src/platform/native_auth.macos.dart that imports:
  • package:objective_c/objective_c.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:native_authentication/native_authentication.dart that imports:
  • package:native_authentication/src/native_auth.platform_io.dart that imports:
  • package:native_authentication/src/platform/native_auth.android.dart that imports:
  • package:native_authentication/src/native/android/jni_bindings.ffi.dart that imports:
  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.
Package does not support platform `Windows`.

Because:

  • package:native_authentication/native_authentication.dart that imports:
  • package:native_authentication/src/native_auth.platform_io.dart that imports:
  • package:native_authentication/src/platform/native_auth.macos.dart that imports:
  • package:objective_c/objective_c.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:native_authentication/native_authentication.dart that imports:
  • package:native_authentication/src/native_auth.platform_io.dart that imports:
  • package:native_authentication/src/platform/native_auth.macos.dart that imports:
  • package:objective_c/objective_c.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:native_authentication/native_authentication.dart that imports:
  • package:native_authentication/src/native_auth.platform_io.dart that imports:
  • package:native_authentication/src/platform/native_auth.android.dart that imports:
  • package:native_authentication/src/native/android/jni_bindings.ffi.dart that imports:
  • package:jni/jni.dart that declares support for platforms: Android, Windows, Linux.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

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
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
ffi ^2.1.3 2.1.4 2.1.4
jni ^0.14.0 0.14.2 0.15.2
logging ^1.2.0 1.3.0 1.3.0
meta ^1.12.0 1.17.0 1.17.0
objective_c ^8.0.0 8.1.0 9.1.0
path ^1.9.0 1.9.1 1.9.1
pub_semver ^2.2.0 2.2.0 2.2.0
stream_transform ^2.1.0 2.1.1 2.1.1
web ^1.0.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
package_config - 2.2.0 2.2.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0

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

The constraint `^0.14.0` on jni does not support the stable version `0.15.0`, that was published 11 days ago.

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

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

The constraint `^8.0.0` on objective_c does not support the stable version `9.0.0`, that was published 11 days ago.

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

Try running dart pub upgrade --major-versions objective_c 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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
160
points
2.28k
downloads

Publisher

verified publishercelest.dev

Weekly Downloads

Native bindings for platform-specific authentication APIs like ASWebAuthenticationSession and Chrome Custom Tabs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause-Patent (license)

Dependencies

ffi, jni, logging, meta, objective_c, path, pub_semver, stream_transform, web

More

Packages that depend on native_authentication

Packages that implement native_authentication