chatsasa_chat_sdk 1.0.13
chatsasa_chat_sdk: ^1.0.13 copied to clipboard
Welcome to the ChatSasa Chat SDK. This SDK allows you to easily integrate ChatSasa's chat functionality into your Flutter mobile applications.
We analyzed this package 6 hours ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
1 out of 20 API elements (5.0 %) 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: chatsasa_chat_sdk
, chatsasa_chat_sdk.ChatSasaChatSDK
, chatsasa_chat_sdk.ChatSasaChatSDK.ChatSasaChatSDK.new
, chatsasa_chat_sdk.ChatSasaChatSDK.cacheUserData
, chatsasa_chat_sdk.ChatSasaChatSDK.getBackgroundFCMNotification
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:chatsasa_chat_sdk/chatsasa_chat_sdk.dart
that imports:package:chatsasa_chat_sdk/src/presentation/global/chat_api_client.dart
that imports:package:chatsasa_chat_sdk/src/domain/repository/message_repository.dart
that imports:package:chatsasa_chat_sdk/src/data/model/message/request/send_message_request/send_message_request.dart
that imports:package:chatsasa_chat_sdk/src/util/util.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:chatsasa_chat_sdk/chatsasa_chat_sdk.dart
that imports:package:chatsasa_chat_sdk/src/presentation/global/chat_api_client.dart
that imports:package:chatsasa_chat_sdk/src/domain/repository/message_repository.dart
that imports:package:chatsasa_chat_sdk/src/data/model/message/request/send_message_request/send_message_request.dart
that imports:package:chatsasa_chat_sdk/src/util/util.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:chatsasa_chat_sdk/chatsasa_chat_sdk.dart
that imports:package:chatsasa_chat_sdk/src/presentation/global/chat_api_client.dart
that imports:package:chatsasa_chat_sdk/src/domain/repository/message_repository.dart
that imports:package:chatsasa_chat_sdk/src/data/model/message/request/send_message_request/send_message_request.dart
that imports:package:chatsasa_chat_sdk/src/data/datasource/local/entities/chat_user.dart
that imports:package:floor/floor.dart
that imports:package:floor/src/sqflite_database_factory.dart
that imports:package:sqflite_common_ffi_web/sqflite_ffi_web.dart
that declares support for platforms:Web
.
Package does not support platform `Linux`.
Because:
package:chatsasa_chat_sdk/chatsasa_chat_sdk.dart
that imports:package:chatsasa_chat_sdk/src/presentation/global/chat_api_client.dart
that imports:package:chatsasa_chat_sdk/src/domain/repository/message_repository.dart
that imports:package:chatsasa_chat_sdk/src/data/model/message/request/send_message_request/send_message_request.dart
that imports:package:chatsasa_chat_sdk/src/util/util.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:chatsasa_chat_sdk/chatsasa_chat_sdk.dart
that imports:package:chatsasa_chat_sdk/src/presentation/global/chat_api_client.dart
that imports:package:chatsasa_chat_sdk/src/domain/repository/message_repository.dart
that imports:package:chatsasa_chat_sdk/src/data/model/message/request/send_message_request/send_message_request.dart
that imports:package:chatsasa_chat_sdk/src/util/util.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:chatsasa_chat_sdk/chatsasa_chat_sdk.dart
that imports:package:chatsasa_chat_sdk/src/presentation/global/chat_api_client.dart
that imports:package:chatsasa_chat_sdk/src/di/service_locator.dart
that imports:package:chatsasa_chat_sdk/src/data/datasource/local/chat_db.dart
that imports:package:sqflite/sqflite.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:chatsasa_chat_sdk/chatsasa_chat_sdk.dart
that imports:package:chatsasa_chat_sdk/src/presentation/global/chat_api_client.dart
that imports:package:chatsasa_chat_sdk/src/domain/repository/message_repository.dart
that imports:package:chatsasa_chat_sdk/src/data/model/message/request/send_message_request/send_message_request.dart
that imports:package:chatsasa_chat_sdk/src/util/util.dart
that imports:package:device_info_plus/device_info_plus.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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 128 issues. Showing the first 2:
WARNING: The declaration '_mockResult' isn't referenced.
lib/src/data/datasource/network/message_remote_datasource.dart:34:45
╷
34 │ Future<Result<ApiMessage, ServerFailure>> _mockResult(
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/datasource/network/message_remote_datasource.dart
WARNING: This default clause is covered by the previous cases.
lib/src/presentation/bloc/presence/chat_client_conn_status_bloc.dart:43:9
╷
43 │ default:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/presentation/bloc/presence/chat_client_conn_status_bloc.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
bloc |
^8.1.4 |
8.1.4 | 9.1.0 | |
cached_network_image |
^3.3.0 |
3.4.1 | 3.4.1 | |
cupertino_icons |
^1.0.2 |
1.0.8 | 1.0.8 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
data_connection_checker_nulls |
^0.0.2 |
0.0.2 | 0.0.2 | |
device_info_plus |
^10.1.2 |
10.1.2 | 12.1.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
file_picker |
^8.1.3 |
8.3.7 | 10.3.3 | |
floor |
^1.4.2 |
1.5.0 | 1.5.0 | |
flutter_bloc |
^8.1.3 |
8.1.6 | 9.1.1 | |
flutter_image_compress |
^2.2.0 |
2.4.0 | 2.4.0 | |
flutter_link_previewer |
^3.2.2 |
3.2.2 | 4.1.2 | |
flutter_parsed_text |
^2.2.1 |
2.2.1 | 2.2.1 | |
font_awesome_flutter |
^10.5.0 |
10.10.0 | 10.10.0 | |
get_it |
^7.6.0 |
7.7.0 | 8.2.0 | |
google_fonts |
^6.1.0 |
6.3.2 | 6.3.2 | |
http |
^1.1.0 |
1.5.0 | 1.5.0 | |
image_picker |
^1.1.2 |
1.2.0 | 1.2.0 | |
intl |
^0.18.1 |
0.18.1 | 0.20.2 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
json_serializable |
^6.8.0 |
6.11.1 | 6.11.1 | |
meta |
^1.10.0 |
1.16.0 | 1.17.0 | |
mfereji |
^1.0.0 |
1.0.0 | 1.0.0 | |
octo_image |
^2.0.0 |
2.1.0 | 2.1.0 | |
open_filex |
^4.3.4 |
4.7.0 | 4.7.0 | |
package_info_plus |
^4.2.0 |
4.2.0 | 9.0.0 | |
path_provider |
^2.1.1 |
2.1.5 | 2.1.5 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
photo_view |
^0.14.0 |
0.14.0 | 0.15.0 | |
pretty_http_logger |
^1.0.2 |
1.0.5 | 1.0.5 | |
result_monad |
^2.2.0 |
2.3.2 | 2.3.2 | |
scroll_to_index |
^3.0.1 |
3.0.1 | 3.0.1 | |
shared_preferences |
^2.2.1 |
2.5.3 | 2.5.3 | |
sqflite |
^2.3.0 |
2.4.2 | 2.4.2 | |
stream_transform |
^2.1.0 |
2.1.1 | 2.1.1 | |
url_launcher |
^6.1.14 |
6.3.2 | 6.3.2 | |
uuid |
^4.1.0 |
4.5.1 | 4.5.1 | |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 10 issues. Showing the first 2:
The constraint `^8.1.4` on bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions bloc
to update the constraint.
The constraint `^10.1.2` on device_info_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.