chatwoot_client_sdk 0.0.8
chatwoot_client_sdk: ^0.0.8 copied to clipboard

A flutter client sdk for chatwoot. Integrate Chatwoot flutter client into your flutter app and talk to your visitors/users in real time.

4
likes
110/ 130
pub points
54%
popularity

We analyzed this package on Sep 23, 2021, and awarded it 110 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 196 out of 566 API elements (34.6 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Found 6 issues. Showing the first 2:

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support Flutter platform `Android`.

Because:

  • package:chatwoot_client_sdk/chatwoot_client_sdk.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_contact.dart that imports:
  • package:hive_flutter/adapters.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_windows/path_provider_windows.dart that declares support for platforms: Windows.
Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
async^2.5.02.8.22.8.2
dio^4.0.04.0.04.0.0
equatable^2.0.32.0.32.0.3
flutterflutter0.0.00.0.0
flutter_chat_types^2.4.02.4.33.1.2
flutter_chat_ui^1.1.91.2.01.4.3
hive^2.0.42.0.42.0.4
hive_flutter^1.1.01.1.01.1.0
intl^0.17.00.17.00.17.0
json_annotation^4.0.14.1.04.1.0
riverpod^0.14.0+30.14.0+30.14.0+3
stream_channel^2.1.02.1.02.1.0
synchronized^3.0.03.0.03.0.0
uuid^3.0.43.0.43.0.4
web_socket_channel^2.1.02.1.02.1.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.01.2.0
charcode-1.3.11.3.1
clock-1.1.01.1.0
collection-1.15.01.15.0
crypto-3.0.13.0.1
csslib-0.17.00.17.0
diffutil_dart-2.0.0+12.0.0+1
ffi-1.1.21.1.2
file-6.1.26.1.2
flutter_link_previewer-2.3.02.5.2
flutter_linkify-5.0.25.0.2
flutter_web_plugins-0.0.00.0.0
freezed_annotation-0.14.30.14.3
html-0.15.00.15.0
http-0.13.30.13.3
http_parser-4.0.04.0.0
js-0.6.30.6.3
linkify-4.1.04.1.0
meta-1.7.01.7.0
path-1.8.01.8.0
path_provider-2.0.52.0.5
path_provider_linux-2.1.02.1.0
path_provider_macos-2.0.22.0.2
path_provider_platform_interface-2.0.12.0.1
path_provider_windows-2.0.32.0.3
pedantic-1.11.11.11.1
photo_view-0.12.00.12.0
platform-3.0.23.0.2
plugin_platform_interface-2.0.12.0.1
process-4.2.34.2.3
sky_engine-0.0.990.0.99
source_span-1.8.11.8.1
state_notifier-0.7.10.7.1
string_scanner-1.1.01.1.0
term_glyph-1.2.01.2.0
typed_data-1.3.01.3.0
url_launcher-6.0.126.0.12
url_launcher_linux-2.0.22.0.2
url_launcher_macos-2.0.22.0.2
url_launcher_platform_interface-2.0.42.0.4
url_launcher_web-2.0.42.0.4
url_launcher_windows-2.0.22.0.2
vector_math-2.1.02.1.1
win32-2.2.92.2.9
xdg_directories-0.2.00.2.0

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

The constraint `^2.4.0` on flutter_chat_types does not support the stable version `3.0.0`, that was published 26 days ago.

When flutter_chat_types is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_chat_types to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Support sound null safety
0 / 20

0/20 points: Null safety support has one or more issues.

Unable to access import.

Because:

  • package:chatwoot_client_sdk/chatwoot_callbacks.dart that imports:
  • package:chatwoot_client_sdk/data/remote/responses/chatwoot_event.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/chatwoot_client.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/chatwoot_client_sdk.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/chatwoot_repository.dart that imports:
  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_service.dart that imports:
  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_api_interceptor.dart that imports:
  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_auth_service.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/dao/chatwoot_contact_dao.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_contact.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/dao/chatwoot_conversation_dao.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/dao/chatwoot_messages_dao.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/dao/chatwoot_user_dao.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/entity/chatwoot_contact.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/entity/chatwoot_conversation.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/remote/responses/chatwoot_event.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_api_interceptor.dart that imports:
  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_auth_service.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_auth_service.dart that imports:
  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_api_interceptor.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_service.dart that imports:
  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_api_interceptor.dart that imports:
  • package:chatwoot_client_sdk/data/remote/service/chatwoot_client_auth_service.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/di/modules.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/repository_parameters.dart that imports:
  • package:chatwoot_client_sdk/di/modules.dart that imports:
  • package:hive_flutter/hive_flutter.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/ui/chatwoot_chat_dialog.dart that imports:
  • package:chatwoot_client_sdk/ui/chatwoot_chat_page.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
Unable to access import.

Because:

  • package:chatwoot_client_sdk/ui/chatwoot_chat_page.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_user.dart that imports:
  • package:chatwoot_client_sdk/data/local/local_storage.dart that imports:
  • package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart that imports:
  • package:hive/hive.dart that imports:
  • package:hive/src/object/hive_object.dart that imports:
  • package:hive/src/object/hive_list_impl.dart that imports:
  • package:hive/src/hive_impl.dart that imports:
  • package:hive/src/backend/storage_backend.dart that imports:
  • package:hive/src/backend/js/backend_manager.dart that imports:
  • package:hive/src/backend/js/storage_backend_js.dart that imports:
  • dart:indexed_db where dart:indexed_db is inaccessible.
For more information

Try running dart pub outdated --mode=null-safety. Be sure to read the migration guide.

Analysed with Pana 0.21.1+1, Flutter 2.5.0, Dart 2.14.0.

4
likes
110
pub points
54%
popularity

A flutter client sdk for chatwoot. Integrate Chatwoot flutter client into your flutter app and talk to your visitors/users in real time.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

async, dio, equatable, flutter, flutter_chat_types, flutter_chat_ui, hive, hive_flutter, intl, json_annotation, riverpod, stream_channel, synchronized, uuid, web_socket_channel

More

Packages that depend on chatwoot_client_sdk