amplify_secure_storage_dart 0.5.8 copy "amplify_secure_storage_dart: ^0.5.8" to clipboard
amplify_secure_storage_dart: ^0.5.8 copied to clipboard

A Dart-only implementation of `amplify_secure_storage`, using `dart:ffi` for Desktop and `dart:html` for Web.

140/ 160
pub points
95k
downloads

We analyzed this package 31 hours ago, and awarded it 140 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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: amplify_secure_storage_dart,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has multiple matching pubspec.yaml with name: amplify_secure_storage_dart.

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: Apache-2.0.

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

109 out of 145 API elements (75.2 %) have documentation comments.

Some symbols that are missing documentation: amplify_secure_storage_dart, amplify_secure_storage_dart.AmplifySecureStorageConfig.copyWith, amplify_secure_storage_dart.AmplifySecureStorageConfig.namespace, amplify_secure_storage_dart.AmplifySecureStorageConfigBuilder, amplify_secure_storage_dart.AmplifySecureStorageConfigBuilder.AmplifySecureStorageConfigBuilder.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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

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

Because:

  • package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dart that imports:
  • package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dart that imports:
  • package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dart that imports:
  • package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dart that imports:
  • package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dart that imports:
  • package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dart that imports:
  • package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

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.

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 37 issues. Showing the first 2:

INFO: Missing documentation for a public member.

lib/src/amplify_secure_storage_dart.dart:67:15

   ╷
67 │   static void registerWith() {}
   │               ^^^^^^^^^^^^
   ╵

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

INFO: Missing documentation for a public member.

lib/src/exception/secure_storage_exception.dart:27:23

   ╷
27 │   static const String missingRecovery =
   │                       ^^^^^^^^^^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 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
async ^2.10.0 2.13.0 2.13.0
aws_common >=0.7.11 <0.8.0 0.7.11 0.7.11
built_collection ^5.0.0 5.1.1 5.1.1
built_value ^8.10.1 8.12.0 8.12.0
ffi ^2.0.2 2.1.4 2.1.4
file ^7.0.1 7.0.1 7.0.1
meta ^1.16.0 1.17.0 1.17.0
path ^1.8.0 1.9.1 1.9.1
web ^1.1.1 1.1.1 1.1.1
win32 ^5.14.0 5.15.0 5.15.0
worker_bee >=0.3.8 <0.4.0 0.3.8 0.3.8
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
http - 1.5.0 1.5.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
mime - 2.0.0 2.0.0
os_detect - 2.0.3 2.0.3
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1

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

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

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
95k
downloads

Publisher

verified publisheraws-amplify.com

Weekly Downloads

A Dart-only implementation of `amplify_secure_storage`, using `dart:ffi` for Desktop and `dart:html` for Web.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

async, aws_common, built_collection, built_value, ffi, file, meta, path, web, win32, worker_bee

More

Packages that depend on amplify_secure_storage_dart