qiscus_chat_sdk 2.1.1 copy "qiscus_chat_sdk: ^2.1.1" to clipboard
qiscus_chat_sdk: ^2.1.1 copied to clipboard

The Scalable In-App Chat SDK for Mobile & Web

7
likes
110/ 160
pub points
1.33k
downloads

We analyzed this package 6 days ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 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.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/qiscus/qiscus-chat-sdk-flutter/issues 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.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

46 out of 203 API elements (22.7 %) have documentation comments.

Some symbols that are missing documentation: qiscus_chat_sdk, qiscus_chat_sdk.QAccount, qiscus_chat_sdk.QAccount.QAccount, qiscus_chat_sdk.QAccount.lastEventId, qiscus_chat_sdk.QAccount.lastMessageId.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

Package not compatible with runtime wasm

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

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.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 81 issues. Showing the first 2:

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

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: QMessage.id, QMessage.chatRoomId, QMessage.previousMessageId, QMessage.uniqueId, QMessage.text, QMessage.status, QMessage.type, QMessage.extras, QMessage.payload, QMessage.sender, QMessage.timestamp

lib/src/domain/message/message-model.dart:27:7

   ╷
27 │ class QMessage with EquatableMixin {
   │       ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/domain/message/message-model.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
async ^2.8.2 2.12.0 2.12.0
dio ^5.3.2 5.7.0 5.7.0
equatable ^2.0.3 2.0.7 2.0.7
flutter flutter 0.0.0 0.0.0
fpdart ^0.6.0 0.6.0 1.1.1
freezed_annotation ^2.0.3 2.4.4 2.4.4
mqtt_client ^9.4.2 9.8.1 10.6.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
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.0.0 2.0.0
event_bus - 2.0.1 2.0.1
http_parser - 4.1.1 4.1.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
sky_engine - 0.0.0 0.0.0
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.1.4 2.1.4
web - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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 `^9.4.2` on mqtt_client does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions mqtt_client 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

7
likes
110
points
1.33k
downloads

Publisher

unverified uploader

Weekly Downloads

The Scalable In-App Chat SDK for Mobile & Web

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

async, dio, equatable, flutter, fpdart, freezed_annotation, mqtt_client, pretty_dio_logger, sealed_unions

More

Packages that depend on qiscus_chat_sdk