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

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

0
likes
150/ 160
pub points
77%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/aws-amplify/amplify-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

111 out of 146 API elements (76.0 %) 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.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart that imports:
  • package:amplify_secure_storage_dart/src/interfaces/amplify_secure_storage_interface.dart that imports:
  • package:aws_common/aws_common.dart that imports:
  • package:aws_common/src/http/aws_http_client.dart that imports:
  • package:aws_common/src/http/aws_http_client_io.dart that imports:
  • package:http2/http2.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io

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

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

OK
Pass static analysis
50 / 50trigger folding of the section

50/50 points: code has no errors, warnings, lints, or formatting issues

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
async ^2.10.0 2.12.0 2.12.0
aws_common >=0.7.2 <0.8.0 0.7.4 0.7.4
built_collection ^5.0.0 5.1.1 5.1.1
built_value ^8.6.0 8.9.2 8.9.2
ffi ^2.0.0 2.1.3 2.1.3
file >=6.0.0 <8.0.0 7.0.1 7.0.1
js >=0.6.4 <0.8.0 0.7.1 0.7.1
meta ^1.7.0 1.16.0 1.16.0
path >=1.8.0 <2.0.0 1.9.1 1.9.1
win32 >=4.1.2 <6.0.0 5.8.0 5.8.0
worker_bee >=0.3.2 <0.4.0 0.3.3 0.3.3
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
http2 - 2.3.0 2.3.0
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.2 2.0.2
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
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.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

0
likes
150
pub points
77%
popularity

Publisher

verified publisheraws-amplify.com

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

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

More

Packages that depend on amplify_secure_storage_dart