amplify_auth_cognito 0.6.14 copy "amplify_auth_cognito: ^0.6.14" to clipboard
amplify_auth_cognito: ^0.6.14 copied to clipboard

The Amplify Flutter Auth category plugin using the AWS Cognito provider.

94
likes
130/ 160
pub points
68.7k
downloads

We analyzed this package 21 hours ago, and awarded it 130 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_auth_cognito,
    • contains a version property, and,
    • does not contain a publish_to property.

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

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

298 out of 509 API elements (58.5 %) have documentation comments.

Some symbols that are missing documentation: amplify_auth_cognito, amplify_auth_cognito.AWSCognitoUserPoolTokens, amplify_auth_cognito.AWSCognitoUserPoolTokens.AWSCognitoUserPoolTokens.init, amplify_auth_cognito.AWSCognitoUserPoolTokens.accessToken, amplify_auth_cognito.AWSCognitoUserPoolTokens.idToken.

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:amplify_auth_cognito/amplify_auth_cognito.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:amplify_auth_cognito/amplify_auth_cognito.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:amplify_auth_cognito/amplify_auth_cognito.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:amplify_auth_cognito/amplify_auth_cognito.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:amplify_auth_cognito/amplify_auth_cognito.dart that imports:
  • package:amplify_auth_cognito/src/types.dart that imports:
  • package:amplify_core/src/types/auth/auth_types.dart that imports:
  • package:amplify_core/src/types/auth/sign_up/sign_up_result.dart that imports:
  • package:amplify_core/src/types/auth/sign_up/auth_next_sign_up_step.dart that imports:
  • 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/upload_file_request.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.

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

INFO: The import of 'package:aws_common/aws_common.dart' is unnecessary because all of the used elements are also provided by the import of 'package:amplify_core/amplify_core.dart'.

lib/amplify_auth_cognito.dart:19:8

   ╷
19 │ import 'package:aws_common/aws_common.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/method_channel_auth_cognito.dart:78:9

   ╷
78 │ ┌         throw AmplifyException(
79 │ └             AmplifyExceptionMessages.nullReturnedFromMethodChannel);
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/method_channel_auth_cognito.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
amplify_auth_cognito_android 0.6.14 0.6.14 1.1.0
amplify_auth_cognito_ios 0.6.14 0.6.14 1.1.0
amplify_core 0.6.14 0.6.14 2.6.1
aws_common ^0.1.1 0.1.1 0.7.6
collection ^1.15.0 1.19.1 1.19.1
meta ^1.7.0 1.16.0 1.16.0
plugin_platform_interface ^2.0.0 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
http - 0.13.6 1.3.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
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 - 3.0.6 4.5.1
vector_math - 2.1.4 2.1.5

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

Found 4 issues. Showing the first 2:

The constraint `0.6.14` on amplify_auth_cognito_android does not support the stable version `1.0.0`.

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

The constraint `0.6.14` on amplify_auth_cognito_ios does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions amplify_auth_cognito_ios 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, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
94
likes
130
points
68.7k
downloads

Publisher

verified publisheraws-amplify.com

Weekly Downloads

The Amplify Flutter Auth category plugin using the AWS Cognito provider.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

amplify_auth_cognito_android, amplify_auth_cognito_ios, amplify_core, aws_common, collection, flutter, meta, plugin_platform_interface

More

Packages that depend on amplify_auth_cognito