zego_zimkit 1.18.15 copy "zego_zimkit: ^1.18.15" to clipboard
zego_zimkit: ^1.18.15 copied to clipboard

A low-code plugin that provides a wrapper for IM widgets. Aims to simplify the development process by offering a user-friendly solution into applications.

17
likes
100/ 160
pub points
1.24k
downloads

We analyzed this package 18 hours ago, and awarded it 100 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

558 out of 2584 API elements (21.6 %) have documentation comments.

Some symbols that are missing documentation: APIs, Configs, Events, Get started, zego_zimkit.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:zego_zimkit/zego_zimkit.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:zego_zimkit/zego_zimkit.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:zego_zimkit/zego_zimkit.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:zego_zimkit/zego_zimkit.dart that declares support for platforms: Android, iOS.

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:zego_zimkit/zego_zimkit.dart that imports:
  • package:zego_zimkit/src/utils/utils.dart that imports:
  • package:zego_zimkit/src/utils/dialogs_utils.dart that imports:
  • package:zego_zimkit/src/services/services.dart that imports:
  • package:zego_zimkit/src/services/zimkit_services.dart that imports:
  • package:zego_zimkit/src/services/defines.dart that imports:
  • package:zego_uikit_signaling_plugin/zego_uikit_signaling_plugin.dart that imports:
  • package:zego_uikit_signaling_plugin/src/internal/zim_extension.dart that imports:
  • package:zego_plugin_adapter/zego_plugin_adapter.dart that imports:
  • package:zego_plugin_adapter/src/adapter.dart that imports:
  • package:zego_plugin_adapter/src/signaling/signaling.dart that imports:
  • package:zego_plugin_adapter/src/signaling/interface.dart that imports:
  • package:zego_plugin_adapter/src/signaling/defines.dart that imports:
  • package:zego_callkit/zego_callkit.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:zego_zimkit/zego_zimkit.dart that imports:
  • package:zego_zimkit/src/utils/utils.dart that imports:
  • package:zego_zimkit/src/utils/dialogs_utils.dart that imports:
  • package:zego_zimkit/src/services/services.dart that imports:
  • package:zego_zimkit/src/services/zimkit_services.dart that imports:
  • package:file_picker/file_picker.dart that imports:
  • package:file_picker/src/windows/file_picker_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 25 issues. Showing the first 2:

ERROR: The argument type 'Null Function(ZIMMessage, int, int)' can't be assigned to the parameter type 'ZIMMediaDownloadConfig'.

lib/src/services/core/message_media.dart:209:11

    ╷
209 │ ┌           (ZIMMessage zimMessage, int currentFileSize, int totalFileSize) {
210 │ │         ZIMKitLogger.info('downloadMediaFile: ${zimMediaMessage.fileName} - '
211 │ │             '${downloadType.name} $currentFileSize/$totalFileSize');
212 │ │ 
213 │ │         kitMessageNotifier.value = (kitMessageNotifier.value.clone()
214 │ │           ..updateExtraInfo({
215 │ │             'download': {
216 │ │               downloadType.name: {
217 │ │                 'currentFileSize': currentFileSize,
218 │ │                 'totalFileSize': totalFileSize,
219 │ │               }
220 │ │             }
221 │ │           }));
    │ └────────^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/core/message_media.dart

ERROR: 4 positional arguments expected by 'downloadMediaFile', but 3 found.

lib/src/services/core/message_media.dart:222:8

    ╷
222 │       }).then((ZIMMediaDownloadedResult result) {
    │        ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/core/message_media.dart

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
async ^2.0.0 2.13.0 2.13.0
cached_network_image ^3.3.0 3.4.1 3.4.1
chewie ^1.10.0 1.11.3 1.11.3
cupertino_icons ^1.0.6 1.0.8 1.0.8
encrypt ^5.0.3 5.0.3 5.0.3
equatable ^2.0.5 2.0.7 2.0.7
file_picker ^8.0.6 8.3.7 10.1.2
intl ^0.19.0 0.19.0 0.20.2
logging ^1.2.0 1.3.0 1.3.0
path_provider ^2.1.3 2.1.5 2.1.5
permission_handler ^11.3.1 11.4.0 12.0.0+1
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
provider ^6.0.5 6.1.4 6.1.4
shared_preferences ^2.2.3 2.5.3 2.5.3
video_player ^2.7.2 2.9.5 2.9.5
zego_callkit ^1.0.0+4 1.0.0+5 1.0.0+5
zego_plugin_adapter ^2.13.2 2.13.9 2.13.9
zego_uikit_signaling_plugin ^2.8.4 2.8.12 2.8.12
zego_zim ^2.16.0+4 2.20.0+1 2.20.0+1
zego_zim_audio ^1.0.0+1 1.0.0+6 1.0.0+6
zego_zpns ^2.6.0+3 2.8.0 2.8.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.2 1.6.2
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 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
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_logs - 2.2.1 2.2.1
flutter_plugin_android_lifecycle - 2.0.28 2.0.28
html - 0.15.5+1 0.15.5+1
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
package_info_plus - 8.3.0 8.3.0
package_info_plus_platform_interface - 3.2.0 3.2.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.17 2.2.17
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.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
pointycastle - 3.9.1 4.0.0
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.4.10 2.4.10
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.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.1 2.4.1
sqflite_common - 2.5.5 2.5.5
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.1 3.3.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.5
video_player_android - 2.8.2 2.8.2
video_player_avfoundation - 2.7.1 2.7.1
video_player_platform_interface - 6.3.0 6.3.0
video_player_web - 2.3.4 2.3.4
wakelock_plus - 1.3.1 1.3.1
wakelock_plus_platform_interface - 1.2.3 1.2.3
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `^8.0.6` on file_picker does not support the stable version `9.0.0`.

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
17
likes
100
points
1.24k
downloads
screenshot

Publisher

verified publisherzegocloud.com

Weekly Downloads

A low-code plugin that provides a wrapper for IM widgets. Aims to simplify the development process by offering a user-friendly solution into applications.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

async, cached_network_image, chewie, cupertino_icons, encrypt, equatable, file_picker, flutter, intl, logging, path_provider, permission_handler, plugin_platform_interface, provider, shared_preferences, video_player, zego_callkit, zego_plugin_adapter, zego_uikit_signaling_plugin, zego_zim, zego_zim_audio, zego_zpns

More

Packages that depend on zego_zimkit