crisp_sdk 1.0.0
crisp_sdk: ^1.0.0 copied to clipboard
Crisp SDK for Flutter.
We analyzed this package 20 days ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
pubspec.yaml from the repository has no repository or homepage URL.
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: crisp_sdk, - 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
28 out of 41 API elements (68.3 %) have documentation comments.
Some symbols that are missing documentation: common_constants, common_constants.CRISP_BASE_URL, crisp_controller, crisp_controller.CrispController.CrispController.new, crisp_controller.CrispController.setSegments.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:crisp_sdk/crisp_sdk.dartthat imports:package:crisp_sdk/crisp_view.dartthat imports:package:crisp_sdk/controller/crisp_controller.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:crisp_sdk/crisp_sdk.dartthat imports:package:crisp_sdk/crisp_view.dartthat imports:package:crisp_sdk/controller/crisp_controller.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:crisp_sdk/crisp_sdk.dartthat imports:package:crisp_sdk/crisp_view.dartthat imports:package:crisp_sdk/controller/crisp_controller.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.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
Found 7 issues. Showing the first 2:
INFO: The constant name 'CRISP_BASE_URL' isn't a lowerCamelCase identifier.
lib/common/common_constants.dart:1:7
╷
1 │ const CRISP_BASE_URL = 'https://go.crisp.chat';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/common/common_constants.dart
INFO: Missing type annotation.
lib/controller/crisp_controller.dart:68:3
╷
68 │ setMessage(String text) {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/controller/crisp_controller.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 | |
url_launcher |
^6.2.4 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_inappwebview_android |
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations |
- | 1.2.0 | 1.2.0 | |
flutter_inappwebview_ios |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_macos |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_platform_interface |
- | 1.3.0+1 | 1.3.0+1 | |
flutter_inappwebview_web |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_windows |
- | 0.6.0 | 0.6.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.