nim_core 1.7.8 copy "nim_core: ^1.7.8" to clipboard
nim_core: ^1.7.8 copied to clipboard

A Flutter plugin for NetEase IM SDK on Android, iOS and Windows.

8
likes
140/ 160
pub points
88%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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: nim_core,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: nim_core.

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

2160 out of 3956 API elements (54.6 %) have documentation comments.

Some symbols that are missing documentation: nim_core, nim_core.AddFriendNotify, nim_core.AddFriendNotify.AddFriendNotify, nim_core.AddFriendNotify.account, nim_core.AddFriendNotify.event.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:nim_core/nim_core.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 `Web`.

Because:

  • package:nim_core/nim_core.dart that imports:
  • package:yunxin_alog/yunxin_alog.dart that declares support for platforms: Android, iOS, Windows, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:nim_core/nim_core.dart that imports:
  • package:nim_core_platform_interface/src/utils/converter.dart that imports:
  • package:nim_core_platform_interface/nim_core_platform_interface.dart that imports:
  • package:nim_core_platform_interface/src/platform_interface/team/team.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 22 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/src/audio/audio_service.dart:5:1

  ╷
5 │ part of nim_core;
  │ ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/audio/audio_service.dart

INFO: The part-of directive uses a library name.

lib/src/auth/auth_service.dart:5:1

  ╷
5 │ part of nim_core;
  │ ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/auth/auth_service.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
hawk_meta ^0.0.1 0.0.1 0.0.1
nim_core_macos ^1.0.8 1.0.8 1.0.8
nim_core_platform_interface >=1.7.7 <1.8.0 1.7.9 1.7.9
nim_core_web ^1.0.2 1.0.2 1.0.2
nim_core_windows ^1.0.8 1.0.8 1.0.8
path_provider ^2.0.2 2.1.4 2.1.4
universal_io ^2.0.4 2.2.2 2.2.2
yunxin_alog ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
alog_macos - 1.0.12 1.0.12
alog_windows - 1.0.12 1.0.12
archive - 3.6.1 3.6.1
args - 2.5.0 2.5.0
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.19.0
crypto - 3.0.5 3.0.5
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.10 2.2.10
path_provider_foundation - 2.4.0 2.4.0
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
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
process_run - 0.12.5+3 1.2.0
pub_semver - 2.1.4 2.1.4
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
synchronized - 3.3.0+2 3.3.0+2
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
xdg_directories - 1.0.4 1.0.4
yaml - 3.1.2 3.1.2

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

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.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.