这是indexloc提供的服务,不要输入任何密码

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

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

140/ 160
pub points
87.4k
downloads

We analyzed this package 2 days 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_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.

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

931 out of 1006 API elements (92.5 %) have documentation comments.

Some symbols that are missing documentation: amplify_auth_cognito.ASFContextDataBuilder, amplify_auth_cognito.ASFContextDataBuilder.ASFContextDataBuilder.new, amplify_auth_cognito.ASFContextDataBuilder.applicationName, amplify_auth_cognito.ASFContextDataBuilder.applicationVersion, amplify_auth_cognito.ASFContextDataBuilder.clientTimezone.

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

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:amplify_auth_cognito/amplify_auth_cognito.dart that imports:
  • package:amplify_auth_cognito/src/auth_plugin_impl.dart that imports:
  • package:amplify_secure_storage/amplify_secure_storage.dart that imports:
  • package:amplify_secure_storage/src/amplify_secure_storage.vm.dart that imports:
  • package:amplify_secure_storage_dart/src/utils/file_key_value_store.dart that declares support for platforms: iOS, Windows, Linux, macOS, Web.
Package does not support platform `iOS`.

Because:

  • package:amplify_auth_cognito/amplify_auth_cognito.dart that imports:
  • package:amplify_auth_cognito/src/auth_plugin_impl.dart that imports:
  • package:amplify_secure_storage/amplify_secure_storage.dart that imports:
  • package:amplify_secure_storage/src/amplify_secure_storage.vm.dart that imports:
  • 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_auth_cognito/amplify_auth_cognito.dart that imports:
  • package:amplify_auth_cognito/src/auth_plugin_impl.dart that imports:
  • package:amplify_secure_storage/amplify_secure_storage.dart that imports:
  • package:amplify_secure_storage/src/amplify_secure_storage.vm.dart that imports:
  • 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_auth_cognito/amplify_auth_cognito.dart that imports:
  • package:amplify_auth_cognito/src/auth_plugin_impl.dart that imports:
  • package:amplify_secure_storage/amplify_secure_storage.dart that imports:
  • package:amplify_secure_storage/src/amplify_secure_storage.vm.dart that imports:
  • 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 not compatible with platform Web

Because:

  • package:amplify_auth_cognito/amplify_auth_cognito.dart that imports:
  • package:amplify_auth_cognito/src/auth_plugin_impl.dart that imports:
  • package:amplify_auth_cognito/src/credentials/legacy_credential_provider_impl.dart that imports:
  • package:amplify_auth_cognito/src/credentials/legacy_credential_provider_ios.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that imports:
  • package:amplify_flutter/src/amplify_impl.dart that imports:
  • dart:io

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/auth_plugin_impl.dart that imports:
  • package:amplify_auth_cognito/src/credentials/legacy_credential_provider_impl.dart that imports:
  • package:amplify_auth_cognito/src/credentials/legacy_credential_provider_ios.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that imports:
  • package:amplify_flutter/src/amplify_impl.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 check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain darwin/amplify_auth_cognito/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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 4 issues. Showing the first 2:

INFO: Unnecessary duplication of receiver.

lib/src/native_auth_plugin.g.dart:269:7

    ╷
269 │       buffer.putInt64(value);
    │       ^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: Catch clause should use 'on' to specify the type of exception being caught.

lib/src/native_auth_plugin.g.dart:342:13

    ╷
342 │           } catch (e) {
    │             ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/native_auth_plugin.g.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
amplify_analytics_pinpoint >=2.7.0 <2.8.0 2.7.0 2.7.0
amplify_analytics_pinpoint_dart >=0.4.12 <0.5.0 0.4.12 0.4.12
amplify_auth_cognito_dart >=0.11.14 <0.12.0 0.11.14 0.11.14
amplify_core >=2.7.0 <2.8.0 2.7.0 2.7.0
amplify_flutter >=2.7.0 <2.8.0 2.7.0 2.7.0
amplify_secure_storage >=0.5.13 <0.6.0 0.5.13 0.5.13
async ^2.10.0 2.13.0 2.13.0
meta ^1.16.0 1.17.0 1.17.0
path ^1.8.0 1.9.1 1.9.1
plugin_platform_interface ^2.0.0 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
amplify_db_common - 0.4.14 0.4.14
amplify_db_common_dart - 0.4.13 0.4.13
amplify_secure_storage_dart - 0.5.8 0.5.8
aws_common - 0.7.11 0.7.11
aws_signature_v4 - 0.6.9 0.6.9
built_collection - 5.1.1 5.1.1
built_value - 8.12.0 8.12.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crclib - 3.0.0 3.0.0
crypto - 3.0.7 3.0.7
device_info_plus - 12.2.0 12.2.0
device_info_plus_platform_interface - 7.0.3 7.0.3
drift - 2.29.0 2.29.0
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
graphs - 2.3.2 2.3.2
http - 1.6.0 1.6.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
mime - 2.0.0 2.0.0
oauth2 - 2.0.5 2.0.5
os_detect - 2.0.3 2.0.3
package_info_plus - 9.0.0 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.20 2.2.20
path_provider_foundation - 2.4.3 2.4.3
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
retry - 3.1.2 3.1.2
shelf - 1.4.2 1.4.2
smithy - 0.7.9 0.7.9
smithy_aws - 0.7.9 0.7.9
source_span - 1.10.1 1.10.1
sqlite3 - 2.9.4 3.0.1
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
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
win32_registry - 2.1.0 2.1.0
worker_bee - 0.3.8 0.3.8
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.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.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: