amplify_core 1.8.0 copy "amplify_core: ^1.8.0" to clipboard
amplify_core: ^1.8.0 copied to clipboard

The base package containing common types and utilities that are shared across the Amplify Flutter packages.

44
likes
120/ 160
pub points
80.5k
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

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_core,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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.

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

1913 out of 2446 API elements (78.2 %) have documentation comments.

Some symbols that are missing documentation: Auth, amplify_core, amplify_core.APIAuthorizationType.authProviderToken, amplify_core.APICategory, amplify_core.APICategory.APICategory.new.

Passed check 10/10 points: Package has an example

Failed 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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:amplify_core/amplify_core.dart that imports:
  • package:amplify_core/src/types/storage/storage_types.dart that imports:
  • package:amplify_core/src/types/storage/upload_file_options.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: Doc directive 'hideConstantImplementations' is unknown.

lib/src/types/auth/attribute/auth_user_attribute_key.dart:16:7

   ╷
16 │ /// {@hideConstantImplementations}
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/types/auth/attribute/auth_user_attribute_key.dart

WARNING: Doc directive 'hideConstantImplementations' is unknown.

lib/src/types/auth/attribute/cognito_user_attribute_key.dart:15:7

   ╷
15 │ /// {@hideConstantImplementations}
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/types/auth/attribute/cognito_user_attribute_key.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
async ^2.10.0 2.13.0 2.13.0
aws_common >=0.6.4 <0.7.0 0.6.5 0.7.6
aws_signature_v4 >=0.5.2 <0.6.0 0.5.2 0.6.4
collection ^1.15.0 1.19.1 1.19.1
graphs ^2.1.0 2.3.2 2.3.2
intl >=0.18.0 <1.0.0 0.20.2 0.20.2
json_annotation >=4.8.1 <4.9.0 4.8.1 4.9.0
logging ^1.0.0 1.3.0 1.3.0
meta ^1.7.0 1.16.0 1.16.0
retry ^3.1.0 3.1.2 3.1.2
stack_trace ^1.10.0 1.12.1 1.12.1
uuid >=3.0.6 <5.0.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
built_collection - 5.1.1 5.1.1
built_value - 8.9.5 8.9.5
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
http2 - 2.3.1 2.3.1
js - 0.6.7 0.7.2 Discontinued
mime - 1.0.6 2.0.0
os_detect - 2.0.3 2.0.3
path - 1.9.1 1.9.1
sprintf - 7.0.0 7.0.0
stream_transform - 2.1.1 2.1.1
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

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

Found 3 issues. Showing the first 2:

The constraint `>=0.6.4 <0.7.0` on aws_common does not support the stable version `0.7.0`.

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

The constraint `>=0.5.2 <0.6.0` on aws_signature_v4 does not support the stable version `0.6.0`.

Try running dart pub upgrade --major-versions aws_signature_v4 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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
44
likes
120
points
80.5k
downloads

Publisher

verified publisheraws-amplify.com

Weekly Downloads

The base package containing common types and utilities that are shared across the Amplify Flutter packages.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

async, aws_common, aws_signature_v4, collection, graphs, intl, json_annotation, logging, meta, retry, stack_trace, uuid

More

Packages that depend on amplify_core