qiscus_chat_sdk 2.2.0
qiscus_chat_sdk: ^2.2.0 copied to clipboard
The Scalable In-App Chat SDK for Mobile & Web
We analyzed this package 4 hours ago, and awarded it 60 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.
Homepage URL doesn't exist.
At the time of the analysis https://sdk.qiscus.com
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
46 out of 204 API elements (22.5 %) have documentation comments.
Some symbols that are missing documentation: qiscus_chat_sdk
, qiscus_chat_sdk.CancelToken.CancelToken.new
, qiscus_chat_sdk.QAccount
, qiscus_chat_sdk.QAccount.QAccount.new
, qiscus_chat_sdk.QAccount.lastEventId
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:qiscus_chat_sdk/qiscus_chat_sdk.dart
that imports:package:qiscus_chat_sdk/src/domain/commons.dart
that imports:package:qiscus_chat_sdk/src/domain/room/room-model.dart
that imports:package:qiscus_chat_sdk/src/core.dart
that imports:package:mqtt_client/mqtt_server_client.dart
that imports:dart:io
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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 156 issues. Showing the first 2:
ERROR: The body might complete normally, causing 'null' to be returned, but the return type, 'FutureOr
lib/src/impls/message/update-message-status-impl.dart:11:30
╷
11 │ return tryCatch(() async {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/impls/message/update-message-status-impl.dart
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Storage.appId, Storage.version, Storage.token, Storage.currentUser, Storage.customHeaders, Storage.baseUrl, Storage.brokerUrl, Storage.brokerLbUrl, Storage.uploadUrl, Storage.syncInterval, Storage.syncIntervalWhenConnected, Storage.accSyncInterval, Storage.debugEnabled, Storage.brokerLbEnabled, Storage.lastMessageId, Storage.lastEventId, Storage.enableEventReport, Storage.logLevel, Storage.isRealtimeEnabled, Storage.isRealtimeCheckEnabled, Storage.isSyncEnabled, Storage.isSyncEventEnabled, Storage.isRealtimeManuallyClosed, Storage.configExtras, Storage.messages, Storage.rooms
lib/src/core/storage.dart:11:7
╷
11 │ class Storage with EquatableMixin {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/storage.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
^2.8.2 |
2.13.0 | 2.13.0 | |
dio |
^5.3.2 |
5.9.0 | 5.9.0 | |
equatable |
^2.0.3 |
2.0.7 | 2.0.7 | |
fpdart |
^0.6.0 |
0.6.0 | 1.1.1 | |
freezed_annotation |
^2.0.3 |
2.4.4 | 3.1.0 | |
mqtt_client |
^9.4.2 |
9.8.1 | 10.11.1 | |
pretty_dio_logger |
^1.1.1 |
1.4.0 | 1.4.0 | |
sealed_unions |
^3.0.2+2 |
3.0.3+1 | 3.0.3+1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
event_bus |
- | 2.0.1 | 2.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
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
.
Found 3 issues. Showing the first 2:
The constraint `^0.6.0` on fpdart does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions fpdart
to update the constraint.
The constraint `^2.0.3` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation
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 1 error:
BODY_MIGHT_COMPLETE_NORMALLY
-lib/src/impls/message/update-message-status-impl.dart:11:30
- The body might complete normally, causing 'null' to be returned, but the return type, 'FutureOr
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.