amplify_api 1.8.0
amplify_api: ^1.8.0 copied to clipboard
The Amplify Flutter API category plugin, supporting GraphQL and REST operations.
We analyzed this package 9 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has multiple matching pubspec.yaml with name: amplify_api.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: amplify_api, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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
153 out of 209 API elements (73.2 %) have documentation comments.
Some symbols that are missing documentation: amplify_api, amplify_api.APIAuthorizationType.authProviderToken, amplify_api.AmplifyAPI.delete, amplify_api.AmplifyAPI.head, amplify_api.AmplifyAPI.mutate.
10/10 points: Package has an example
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_api/amplify_api.dartthat imports:package:amplify_api/src/api_plugin_impl.dartthat imports:package:amplify_api/src/connectivity_plus_platform.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:amplify_api/amplify_api.dartthat imports:package:amplify_api/src/api_plugin_impl.dartthat imports:package:amplify_api/src/connectivity_plus_platform.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:amplify_api/amplify_api.dartthat imports:package:amplify_api/src/api_plugin_impl.dartthat imports:package:amplify_api/src/connectivity_plus_platform.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:amplify_api/amplify_api.dartthat imports:package:amplify_api/src/api_plugin_impl.dartthat imports:package:amplify_api/src/connectivity_plus_platform.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:amplify_api/amplify_api.dartthat imports:package:amplify_api_dart/amplify_api_dart.dartthat imports:package:amplify_api_dart/src/graphql/model_helpers/model_subscriptions.dartthat imports:package:amplify_core/amplify_core.dartthat imports:package:amplify_core/src/types/storage/storage_types.dartthat imports:package:amplify_core/src/types/storage/upload_file_options.dartthat imports:package:aws_common/aws_common.dartthat imports:package:aws_common/src/http/aws_http_client.dartthat imports:package:aws_common/src/http/aws_http_client_io.dartthat imports:package:http2/http2.dartthat imports:package:http2/transport.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Library names are not necessary.
lib/amplify_api.dart:4:9
╷
4 │ library amplify_api;
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/amplify_api.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
amplify_api_dart |
>=0.4.1 <0.5.0 |
0.4.1 | 0.5.13 | |
amplify_core |
>=1.8.0 <1.9.0 |
1.8.0 | 2.8.0 | |
amplify_flutter |
>=1.8.0 <1.9.0 |
1.8.0 | 2.8.0 | |
connectivity_plus |
^6.0.1 |
6.1.5 | 7.0.0 | |
meta |
^1.7.0 |
1.17.0 | 1.17.0 | |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
amplify_secure_storage |
- | 0.4.4 | 0.5.14 | |
amplify_secure_storage_dart |
- | 0.4.4 | 0.5.9 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
aws_common |
- | 0.6.5 | 0.7.12 | |
aws_signature_v4 |
- | 0.5.2 | 0.6.10 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.1 | 8.12.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.11 | 0.7.11 | |
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 | |
http2 |
- | 2.3.1 | 2.3.1 | |
intl |
- | 0.20.2 | 0.20.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.8.1 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
os_detect |
- | 2.0.3 | 2.0.3 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
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 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
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 | |
web_socket_channel |
- | 2.4.0 | 3.0.3 | |
win32 |
- | 5.15.0 | 5.15.0 | |
worker_bee |
- | 0.2.4 | 0.3.9 | |
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.
Found 4 issues. Showing the first 2:
The constraint `>=0.4.1 <0.5.0` on amplify_api_dart does not support the stable version `0.5.0`.
Try running dart pub upgrade --major-versions amplify_api_dart to update the constraint.
The constraint `>=1.8.0 <1.9.0` on amplify_core does not support the stable version `2.0.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.