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

AmaniQuery Auth Intelligence Flutter SDK. Device signal collection, risk assessment, passkey (FIDO2/WebAuthn) authentication, biometric authentication, social sign-in, consent and DSR APIs for the Ama [...]

120/ 160
pub points
356
downloads

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

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

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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Repository URL doesn't exist.

At the time of the analysis https://github.com/AmaniQuery/amaniquery was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

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

58 out of 233 API elements (24.9 %) have documentation comments.

Some symbols that are missing documentation: amani_auth_sdk.AmaniAuthConfig.AmaniAuthConfig.new, amani_auth_sdk.AmaniAuthConfig.apiKey, amani_auth_sdk.AmaniAuthConfig.baseUrl, amani_auth_sdk.AmaniAuthConfig.enableBiometric, amani_auth_sdk.AmaniAuthConfig.enablePasskey.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:amani_auth_sdk/amani_auth_sdk.dart that imports:
  • package:amani_auth_sdk/src/signal_collector.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:amani_auth_sdk/amani_auth_sdk.dart that imports:
  • package:amani_auth_sdk/src/signal_collector.dart that imports:
  • package:local_auth/local_auth.dart that declares support for platforms: Android, iOS, Windows, macOS.

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:amani_auth_sdk/amani_auth_sdk.dart that imports:
  • package:amani_auth_sdk/src/signal_collector.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:amani_auth_sdk/amani_auth_sdk.dart that imports:
  • package:amani_auth_sdk/src/signal_collector.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:amani_auth_sdk/amani_auth_sdk.dart that imports:
  • package:amani_auth_sdk/src/signal_collector.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_darwin/local_auth_darwin.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:amani_auth_sdk/amani_auth_sdk.dart that imports:
  • package:amani_auth_sdk/src/signal_collector.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
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

INFO: 'encryptedSharedPreferences' is deprecated and shouldn't be used. EncryptedSharedPreferences is deprecated and will be removed in v11. The Jetpack Security library is deprecated by Google. Your data will be automatically migrated to custom ciphers on first access. Remove this parameter - it will be ignored.

lib/src/session_store.dart:17:17

   ╷
17 │                 encryptedSharedPreferences: true,
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: 'RSA_ECB_PKCS1Padding' is deprecated and shouldn't be used. RSA PKCS#1 v1.5 padding is insecure. Use the default RSA_ECB_OAEPwithSHA_256andMGF1Padding instead. Existing data is migrated automatically.

lib/src/session_store.dart:18:56

   ╷
18 │                 keyCipherAlgorithm: KeyCipherAlgorithm.RSA_ECB_PKCS1Padding,
   │                                                        ^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/session_store.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
connectivity_plus ^6.0.0 6.1.5 7.3.2
crypto ^3.0.3 3.0.7 3.0.7
device_info_plus ^11.2.0 11.5.0 13.3.0
flutter_appauth ^12.0.0 12.1.0 12.1.0
flutter_secure_storage ^10.0.0 10.3.4 11.2.0
google_sign_in ^7.2.0 7.2.0 7.2.0
http ^1.2.0 1.6.0 1.6.0
local_auth ^3.0.1 3.0.2 3.0.2
package_info_plus ^9.0.0 9.0.1 10.2.2
sign_in_with_apple ^7.0.1 7.0.1 8.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
dbus - 0.7.15 0.8.0
device_info_plus_platform_interface - 7.0.3 8.1.0
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_appauth_platform_interface - 12.1.0 12.1.0
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
flutter_secure_storage_darwin - 0.3.2 0.4.3
flutter_secure_storage_linux - 3.0.3 3.0.3
flutter_secure_storage_platform_interface - 2.1.1 2.1.1
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.1.0 4.2.2
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 7.2.17 7.2.17
google_sign_in_ios - 6.3.6 6.3.6
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_parser - 4.1.2 4.1.2
intl - 0.20.3 0.20.3
jni - 1.1.0 1.1.0
jni_flutter - 1.0.4+1 1.0.4+1
jni_util - 1.0.0 1.0.0
local_auth_android - 2.2.0 2.2.0
local_auth_darwin - 2.0.4 2.0.4
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 2.0.2 2.0.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nm - 0.5.0 0.6.0
objective_c - 9.6.2 9.6.2
package_config - 3.0.0 3.0.0
package_info_plus_platform_interface - 3.2.1 4.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
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
petitparser - 7.1.0 7.1.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.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.1 1.1.1
win32 - 5.15.0 6.4.0
win32_registry - 2.1.0 3.0.3
xdg_directories - 1.1.0 1.1.0
xml - 7.1.0 7.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 5 issues. Showing the first 2:

The constraint `^6.0.0` on connectivity_plus does not support the stable version `7.0.0`.

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

The constraint `^11.2.0` on device_info_plus does not support the stable version `12.0.0`.

Try running dart pub upgrade --major-versions device_info_plus 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.6, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
356
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AmaniQuery Auth Intelligence Flutter SDK. Device signal collection, risk assessment, passkey (FIDO2/WebAuthn) authentication, biometric authentication, social sign-in, consent and DSR APIs for the AmaniQuery gateway.

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

connectivity_plus, crypto, device_info_plus, flutter, flutter_appauth, flutter_secure_storage, google_sign_in, http, local_auth, package_info_plus, sign_in_with_apple

More

Packages that depend on amani_auth_sdk