amplify_analytics_plugin_interface 0.5.1
amplify_analytics_plugin_interface: ^0.5.1 copied to clipboard
The platform interface for the analytics module of Amplify Flutter.
We analyzed this package 39 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: amplify_analytics_plugin_interface.
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_analytics_plugin_interface, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Homepage URL doesn't exist.
At the time of the analysis https://github.com/aws-amplify/amplify-flutter/tree/main/packages/analytics/amplify_analytics_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.
0/10 points: 20% or more of the public API has dartdoc comments
7 out of 48 API elements (14.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: amplify_analytics_plugin_interface, amplify_analytics_plugin_interface.AnalyticsEvent, amplify_analytics_plugin_interface.AnalyticsEvent.AnalyticsEvent.new, amplify_analytics_plugin_interface.AnalyticsEvent.name, amplify_analytics_plugin_interface.AnalyticsEvent.properties.
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_analytics_plugin_interface/amplify_analytics_plugin_interface.dartthat imports:package:amplify_analytics_plugin_interface/src/types.dartthat imports:package:amplify_analytics_plugin_interface/src/exceptions/analytics_exception.dartthat imports:package:amplify_core/amplify_core.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:amplify_analytics_plugin_interface/amplify_analytics_plugin_interface.dartthat imports:package:amplify_analytics_plugin_interface/src/types.dartthat imports:package:amplify_analytics_plugin_interface/src/exceptions/analytics_exception.dartthat imports:package:amplify_core/amplify_core.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:amplify_analytics_plugin_interface/amplify_analytics_plugin_interface.dartthat imports:package:amplify_analytics_plugin_interface/src/types.dartthat imports:package:amplify_analytics_plugin_interface/src/exceptions/analytics_exception.dartthat imports:package:amplify_core/amplify_core.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:amplify_analytics_plugin_interface/amplify_analytics_plugin_interface.dartthat imports:package:amplify_analytics_plugin_interface/src/types.dartthat imports:package:amplify_analytics_plugin_interface/src/exceptions/analytics_exception.dartthat imports:package:amplify_core/amplify_core.dartthat declares support for platforms:Android,iOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
INFO: Missing documentation for a public member.
lib/amplify_analytics_plugin_interface.dart:26:16
╷
26 │ abstract class AnalyticsPluginInterface extends AmplifyPluginInterface {
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/amplify_analytics_plugin_interface.dart
INFO: Missing documentation for a public member.
lib/amplify_analytics_plugin_interface.dart:30:16
╷
30 │ Future<void> addPlugin() async {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/amplify_analytics_plugin_interface.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.8.0 | |
meta |
^1.1.8 |
1.17.0 | 1.17.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
date_time_format |
- | 2.0.1 | 2.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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
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.