chatsasa_chat_sdk 1.0.12 chatsasa_chat_sdk: ^1.0.12 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 24 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
, 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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 32 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 |
---|---|---|---|
bloc |
^8.1.4 |
8.1.4 | 8.1.4 |
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 | 11.2.0 |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 |
file_picker |
^8.1.3 |
8.1.6 | 8.1.6 |
floor |
^1.4.2 |
1.5.0 | 1.5.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_bloc |
^8.1.3 |
8.1.6 | 8.1.6 |
flutter_image_compress |
^2.2.0 |
2.3.0 | 2.3.0 |
flutter_link_previewer |
^3.2.2 |
3.2.2 | 3.2.2 |
flutter_parsed_text |
^2.2.1 |
2.2.1 | 2.2.1 |
font_awesome_flutter |
^10.5.0 |
10.8.0 | 10.8.0 |
get_it |
^7.6.0 |
7.7.0 | 8.0.3 |
google_fonts |
^6.1.0 |
6.2.1 | 6.2.1 |
http |
^1.1.0 |
1.2.2 | 1.2.2 |
image_picker |
^1.1.2 |
1.1.2 | 1.1.2 |
intl |
^0.18.1 |
0.18.1 | 0.20.1 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
json_serializable |
^6.8.0 |
6.9.2 | 6.9.2 |
meta |
^1.10.0 |
1.15.0 | 1.16.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.6.0 | 4.6.0 |
package_info_plus |
^4.2.0 |
4.2.0 | 8.1.2 |
path_provider |
^2.1.1 |
2.1.5 | 2.1.5 |
permission_handler |
^11.3.1 |
11.3.1 | 11.3.1 |
photo_view |
^0.14.0 |
0.14.0 | 0.15.0 |
pretty_http_logger |
^1.0.2 |
1.0.4 | 1.0.4 |
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.3.4 | 2.3.4 |
sqflite |
^2.3.0 |
2.4.1 | 2.4.1 |
stream_transform |
^2.1.0 |
2.1.1 | 2.1.1 |
url_launcher |
^6.1.14 |
6.3.1 | 6.3.1 |
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
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 78.0.0 | 78.0.0 |
_macros |
- | 0.3.3 | 0.3.3 |
analyzer |
- | 7.1.0 | 7.1.0 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
build |
- | 2.4.2 | 2.4.2 |
build_config |
- | 1.1.2 | 1.1.2 |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 |
cached_network_image_web |
- | 1.3.1 | 1.3.1 |
characters |
- | 1.3.0 | 1.4.0 |
charcode |
- | 1.4.0 | 1.4.0 |
checked_yaml |
- | 2.0.3 | 2.0.3 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
csslib |
- | 1.0.2 | 1.0.2 |
dart_style |
- | 3.0.1 | 3.0.1 |
dev_build |
- | 1.1.1+4 | 1.1.1+4 |
device_info_plus_platform_interface |
- | 7.0.2 | 7.0.2 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
file_selector_linux |
- | 0.9.3+2 | 0.9.3+2 |
file_selector_macos |
- | 0.9.4+2 | 0.9.4+2 |
file_selector_platform_interface |
- | 2.6.2 | 2.6.2 |
file_selector_windows |
- | 0.9.3+3 | 0.9.3+3 |
fixnum |
- | 1.1.1 | 1.1.1 |
floor_annotation |
- | 1.5.0 | 1.5.0 |
floor_common |
- | 1.5.0 | 1.5.0 |
flutter_cache_manager |
- | 3.4.1 | 3.4.1 |
flutter_chat_types |
- | 3.6.2 | 3.6.2 |
flutter_image_compress_common |
- | 1.0.5 | 1.0.5 |
flutter_image_compress_macos |
- | 1.0.2 | 1.0.2 |
flutter_image_compress_ohos |
- | 0.0.3 | 0.0.3 |
flutter_image_compress_platform_interface |
- | 1.0.5 | 1.0.5 |
flutter_image_compress_web |
- | 0.1.4+1 | 0.1.4+1 |
flutter_linkify |
- | 6.0.0 | 6.0.0 |
flutter_plugin_android_lifecycle |
- | 2.0.24 | 2.0.24 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
glob |
- | 2.1.2 | 2.1.2 |
html |
- | 0.15.5 | 0.15.5 |
http_parser |
- | 4.1.1 | 4.1.1 |
image_picker_android |
- | 0.8.12+19 | 0.8.12+19 |
image_picker_for_web |
- | 3.0.6 | 3.0.6 |
image_picker_ios |
- | 0.8.12+1 | 0.8.12+1 |
image_picker_linux |
- | 0.2.1+1 | 0.2.1+1 |
image_picker_macos |
- | 0.2.1+1 | 0.2.1+1 |
image_picker_platform_interface |
- | 2.10.0 | 2.10.0 |
image_picker_windows |
- | 0.2.1+1 | 0.2.1+1 |
js |
- | 0.7.1 | 0.7.1 |
linkify |
- | 5.0.0 | 5.0.0 |
logging |
- | 1.3.0 | 1.3.0 |
macros |
- | 0.1.3-main.0 | 0.1.3-main.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
mime |
- | 2.0.0 | 2.0.0 |
nested |
- | 1.0.0 | 1.0.0 |
package_config |
- | 2.1.1 | 2.1.1 |
package_info_plus_platform_interface |
- | 2.0.1 | 3.0.2 |
path |
- | 1.9.1 | 1.9.1 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.1 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
permission_handler_android |
- | 12.0.13 | 12.0.13 |
permission_handler_apple |
- | 9.4.5 | 9.4.5 |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 |
permission_handler_platform_interface |
- | 4.2.3 | 4.2.3 |
permission_handler_windows |
- | 0.2.1 | 0.2.1 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
pool |
- | 1.5.1 | 1.5.1 |
process_run |
- | 1.2.2+1 | 1.2.2+1 |
protobuf |
- | 3.1.0 | 3.1.0 |
provider |
- | 6.1.2 | 6.1.2 |
pub_semver |
- | 2.1.5 | 2.1.5 |
pubspec_parse |
- | 1.4.0 | 1.4.0 |
rxdart |
- | 0.28.0 | 0.28.0 |
shared_preferences_android |
- | 2.4.0 | 2.4.0 |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_gen |
- | 2.0.0 | 2.0.0 |
source_helper |
- | 1.3.5 | 1.3.5 |
source_span |
- | 1.10.1 | 1.10.1 |
sprintf |
- | 7.0.0 | 7.0.0 |
sqflite_android |
- | 2.4.0 | 2.4.0 |
sqflite_common |
- | 2.5.4+6 | 2.5.4+6 |
sqflite_common_ffi |
- | 2.3.4+4 | 2.3.4+4 |
sqflite_common_ffi_web |
- | 0.4.5+4 | 0.4.5+4 |
sqflite_darwin |
- | 2.4.1 | 2.4.1 |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 |
sqlite3 |
- | 2.5.0 | 2.5.0 |
sqlparser |
- | 0.34.1 | 0.40.0 |
stack_trace |
- | 1.12.1 | 1.12.1 |
stream_channel |
- | 2.1.3 | 2.1.3 |
string_scanner |
- | 1.4.1 | 1.4.1 |
synchronized |
- | 3.3.0+3 | 3.3.0+3 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
url_launcher_android |
- | 6.3.14 | 6.3.14 |
url_launcher_ios |
- | 6.3.2 | 6.3.2 |
url_launcher_linux |
- | 3.2.1 | 3.2.1 |
url_launcher_macos |
- | 3.2.2 | 3.2.2 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 1.1.1 | 1.1.1 |
web |
- | 1.1.0 | 1.1.0 |
web_socket_channel |
- | 2.4.0 | 3.0.1 |
win32 |
- | 5.9.0 | 5.9.0 |
win32_registry |
- | 1.1.5 | 2.0.1 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
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.
The constraint `^7.6.0` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
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.