tencent_cloud_chat_message 2.1.0 tencent_cloud_chat_message: ^2.1.0 copied to clipboard
A component for displaying a list of messages and dealing with everything related to sending and receiving messages for Tencent Cloud Chat.
We analyzed this package 2 days ago, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: tencent_cloud_chat_message
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: tencent_cloud_chat_message
.
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
314 out of 1111 API elements (28.3 %) have documentation comments.
Some symbols that are missing documentation: default_builder
, default_builder.defaultLoadPreviousProgressBuilder
, default_builder.defaultUnreadMsgTipBuilder
, default_builder.messageMentionedMeBuilder
, default_builder.receivedMsgButtonBuilder
.
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
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:tencent_cloud_chat_message/tencent_cloud_chat_message.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:tencent_cloud_chat_message/tencent_cloud_chat_message.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/tencent_cloud_chat_message_item_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/message_type_builders/tencent_cloud_chat_message_video.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_viewer.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_videoplayer.dart
that imports:package:better_player_plus/better_player_plus.dart
that imports:package:better_player_plus/src/core/better_player.dart
that imports:package:wakelock_plus/wakelock_plus.dart
that imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:tencent_cloud_chat_message/tencent_cloud_chat_message.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/tencent_cloud_chat_message_item_builders.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_widgets/message_type_builders/tencent_cloud_chat_message_video.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_viewer.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_viewer/tencent_cloud_chat_message_videoplayer.dart
that imports:package:better_player_plus/better_player_plus.dart
that imports:package:better_player_plus/src/core/better_player.dart
that imports:package:wakelock_plus/wakelock_plus.dart
that imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:tencent_cloud_chat_message/tencent_cloud_chat_message.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_controller.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat/data/tencent_cloud_chat_data.dart
that imports:package:tencent_cloud_chat/data/user_profile/tencent_cloud_chat_user_profile_data.dart
that imports:package:tencent_cloud_chat/components/components_definition/tencent_cloud_chat_component_builder.dart
that imports:package:tencent_cloud_chat/models/tencent_cloud_chat_models.dart
that imports:package:tencent_cloud_chat/components/component_config/tencent_cloud_chat_message_config.dart
that imports:package:tencent_cloud_chat/data/message/tencent_cloud_chat_message_data.dart
that imports:package:flutter_ringtone_player/flutter_ringtone_player.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:tencent_cloud_chat_message/tencent_cloud_chat_message.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_controller.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat/data/tencent_cloud_chat_data.dart
that imports:package:tencent_cloud_chat/data/user_profile/tencent_cloud_chat_user_profile_data.dart
that imports:package:tencent_cloud_chat/components/components_definition/tencent_cloud_chat_component_builder.dart
that imports:package:tencent_cloud_chat/models/tencent_cloud_chat_models.dart
that imports:package:tencent_cloud_chat/components/component_config/tencent_cloud_chat_message_config.dart
that imports:package:tencent_cloud_chat/data/message/tencent_cloud_chat_message_data.dart
that imports:package:flutter_ringtone_player/flutter_ringtone_player.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:tencent_cloud_chat_message/tencent_cloud_chat_message.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_controller.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_manager.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_platform_interface.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_method_channel.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tencent_cloud_chat_message/tencent_cloud_chat_message.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_list_view/tencent_cloud_chat_message_list_view_container.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data_notifier.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_separate_data.dart
that imports:package:tencent_cloud_chat_message/tencent_cloud_chat_message_controller.dart
that imports:package:tencent_cloud_chat_message/data/tencent_cloud_chat_message_data_tools.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_utils.dart
that imports:package:tencent_cloud_chat/utils/tencent_cloud_chat_message_calling_message/tencent_cloud_chat_message_calling_message.dart
that imports:package:tencent_cloud_chat/tencent_cloud_chat.dart
that imports:package:tencent_cloud_chat_sdk/tencent_im_sdk_plugin.dart
that imports:package:tencent_cloud_chat_sdk/manager/v2_tim_manager.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_platform_interface.dart
that imports:package:tencent_cloud_chat_sdk/tencent_cloud_chat_sdk_method_channel.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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 147 issues. Showing the first 2:
WARNING: Dead code.
lib/data/tencent_cloud_chat_message_data_tools.dart:172:15
╷
172 │ ? TencentCloudChatUtils.addDataToStringFiled(
│ ┌───────────────^
173 │ │ key: "renderInfo",
174 │ │ value: json.encode({
175 │ │ "rotate": "1",
176 │ │ }),
177 │ │ currentString: messageInfoWithAdditionalInfo.cloudCustomData ?? "",
178 │ └ )
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/tencent_cloud_chat_message_data_tools.dart
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/data/tencent_cloud_chat_message_separate_data.dart:226:27
╷
226 │ if (_selectedMessages != null && _selectedMessages.isNotEmpty) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/data/tencent_cloud_chat_message_separate_data.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
azlistview_all_platforms |
^2.1.2 |
2.1.2 | 2.1.2 |
better_player_plus |
^1.0.5 |
1.0.5 | 1.0.7 |
cached_network_image |
^3.2.3 |
3.3.1 | 3.4.1 |
card_swiper |
^3.0.1 |
3.0.1 | 3.0.1 |
desktop_drop_for_t |
^0.4.6 |
0.4.6 | 0.4.6 |
device_info_plus |
^9.1.2 |
9.1.2 | 11.2.0 |
dotted_border |
^2.1.0 |
2.1.0 | 2.1.0 |
extended_text |
^14.0.0 |
14.2.0 | 14.2.0 |
extended_text_field |
^16.0.0 |
16.0.2 | 16.0.2 |
fc_native_video_thumbnail |
^0.7.0 |
0.7.0 | 0.16.1 |
file_picker |
^6.1.1 |
6.2.1 | 8.1.6 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_keyboard_visibility |
^6.0.0 |
6.0.0 | 6.0.0 |
flutter_list_view |
^1.1.18 |
1.1.29 | 1.1.29 |
flutter_markdown |
^0.7.1 |
0.7.4+3 | 0.7.4+3 |
flutter_svg |
^2.0.7 |
2.0.16 | 2.0.16 |
haptic_feedback |
^0.4.2 |
0.4.2 | 0.5.1+1 |
http |
^1.1.0 |
1.2.0 | 1.2.2 |
image_clipboard |
^1.1.0+1 |
1.1.0+1 | 1.1.0+1 |
image_picker |
^0.8.9 |
0.8.9 | 1.1.2 |
lpinyin |
^2.0.3 |
2.0.3 | 2.0.3 |
open_file |
^3.3.2 |
3.5.4 | 3.5.10 |
package_info_plus |
^5.0.1 |
5.0.1 | 8.1.2 |
pasteboard |
^0.2.0 |
0.2.0 | 0.3.0 |
pull_to_refresh |
^2.0.0 |
2.0.0 | 2.0.0 |
record |
^5.0.5 |
5.1.0 | 5.2.0 |
record_android |
>=1.1.0 <=1.2.1 |
1.2.1 | 1.3.0 |
scroll_to_index |
^3.0.1 |
3.0.1 | 3.0.1 |
tencent_cloud_chat |
^2.1.0 |
2.1.0 | 2.1.0 |
tencent_cloud_chat_common |
^2.1.0 |
2.1.0 | 2.1.0 |
universal_html |
^2.2.4 |
2.2.4 | 2.2.4 |
url_launcher |
^6.2.2 |
6.3.1 | 6.3.1 |
vector_math |
^2.1.4 |
2.1.4 | 2.1.4 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 8 issues. Showing the first 2:
The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^0.7.0` on fc_native_video_thumbnail does not support the stable version `0.8.0`.
Try running dart pub upgrade --major-versions fc_native_video_thumbnail
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 4 errors:
CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE
-lib/tencent_cloud_chat_message_input/mobile/tencent_cloud_chat_message_input_recording.dart:95:29
- Const variables must be initialized with a constant value.UNDEFINED_METHOD
-lib/tencent_cloud_chat_message_input/mobile/tencent_cloud_chat_message_input_recording.dart:95:29
- The method 'AndroidRecordConfig' isn't defined for the type 'TencentCloudChatMessageInputRecordingState'.UNDEFINED_IDENTIFIER
-lib/tencent_cloud_chat_message_input/mobile/tencent_cloud_chat_message_input_recording.dart:97:24
- Undefined name 'AndroidAudioSource'.
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.