amplify_api_plugin_interface 0.5.1
amplify_api_plugin_interface: ^0.5.1 copied to clipboard
The platform interface for the API module of Amplify Flutter.
We analyzed this package 3 days ago, and awarded it 60 pub points (of a possible 160):
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.
- contains
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.
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
.
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
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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
.
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.
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.