amplify_api_plugin_interface 0.5.1 copy "amplify_api_plugin_interface: ^0.5.1" to clipboard
amplify_api_plugin_interface: ^0.5.1 copied to clipboard

discontinued

The platform interface for the API module of Amplify Flutter.

0
likes
60/ 160
pub points
353
downloads

We analyzed this package 3 days ago, and awarded it 60 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_api_plugin_interface,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: amplify_api_plugin_interface.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/aws-amplify/amplify-flutter/tree/main/packages/amplify_api_plugin_interface 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

65 out of 143 API elements (45.5 %) have documentation comments.

Some symbols that are missing documentation: amplify_api_plugin_interface, amplify_api_plugin_interface.APIPluginInterface, amplify_api_plugin_interface.APIPluginInterface.APIPluginInterface.new, amplify_api_plugin_interface.APIPluginInterface.addPlugin, amplify_api_plugin_interface.APIPluginInterface.cancelRequest.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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_api_plugin_interface/amplify_api_plugin_interface.dart that imports:
  • package:amplify_api_plugin_interface/src/types.dart that imports:
  • package:amplify_api_plugin_interface/src/types/pagination/paginated_result.dart that imports:
  • package:amplify_core/amplify_core.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:amplify_api_plugin_interface/amplify_api_plugin_interface.dart that imports:
  • package:amplify_api_plugin_interface/src/types.dart that imports:
  • package:amplify_api_plugin_interface/src/types/pagination/paginated_result.dart that imports:
  • package:amplify_core/amplify_core.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:amplify_api_plugin_interface/amplify_api_plugin_interface.dart that imports:
  • package:amplify_api_plugin_interface/src/types.dart that imports:
  • package:amplify_api_plugin_interface/src/types/pagination/paginated_result.dart that imports:
  • package:amplify_core/amplify_core.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:amplify_api_plugin_interface/amplify_api_plugin_interface.dart that imports:
  • package:amplify_api_plugin_interface/src/types.dart that imports:
  • package:amplify_api_plugin_interface/src/types/pagination/paginated_result.dart that imports:
  • package:amplify_core/amplify_core.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

ERROR: The method 'hashValues' isn't defined for the type 'RestResponse'.

lib/src/rest/rest_response.dart:61:23

   ╷
61 │   int get hashCode => hashValues(statusCode, headers, hashList(data));
   │                       ^^^^^^^^^^
   ╵

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

ERROR: The method 'hashList' isn't defined for the type 'RestResponse'.

lib/src/rest/rest_response.dart:61:55

   ╷
61 │   int get hashCode => hashValues(statusCode, headers, hashList(data));
   │                                                       ^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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_core 0.5.1 0.5.1 2.6.1
collection ^1.15.0 1.19.1 1.19.1
json_annotation ^4.3.0 4.9.0 4.9.0
meta ^1.3.0 1.16.0 1.16.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
crypto - 3.0.6 3.0.6
date_time_format - 2.0.1 2.0.1
material_color_utilities - 0.11.1 0.12.0
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 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.

The constraint `0.5.1` on amplify_core does not support the stable version `0.6.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/src/rest/rest_response.dart:61:23 - The method 'hashValues' isn't defined for the type 'RestResponse'.
  • UNDEFINED_METHOD - lib/src/rest/rest_response.dart:61:55 - The method 'hashList' isn't defined for the type 'RestResponse'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

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:
0
likes
60
points
353
downloads

Publisher

verified publisheraws-amplify.com

Weekly Downloads

The platform interface for the API module of Amplify Flutter.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

amplify_core, collection, flutter, json_annotation, meta

More

Packages that depend on amplify_api_plugin_interface