nim_core_v2_web 10.4.0 copy "nim_core_v2_web: ^10.4.0" to clipboard
nim_core_v2_web: ^10.4.0 copied to clipboard

web implementation of the nim_core plugin. that is a Flutter plugin for NetEase IM SDK.

80/ 160
pub points
255
downloads

We analyzed this package 13 hours ago, and awarded it 80 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

2 out of 9 API elements (22.2 %) have documentation comments.

Some symbols that are missing documentation: nim_core_web, nim_core_web.NimCoreWebPlugin, nim_core_web.NimCoreWebPlugin.NimCoreWebPlugin.new, nim_core_web.NimCoreWebPlugin.handleOnEvent, nim_core_web.NimCoreWebPlugin.initEmit.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:nim_core_v2_web/nim_core_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:nim_core_v2_web/nim_core_web.dart that declares support for platforms: Web.
Package does not support platform `Windows`.

Because:

  • package:nim_core_v2_web/nim_core_web.dart that declares support for platforms: Web.
Package does not support platform `Linux`.

Because:

  • package:nim_core_v2_web/nim_core_web.dart that declares support for platforms: Web.
Package does not support platform `macOS`.

Because:

  • package:nim_core_v2_web/nim_core_web.dart that declares support for platforms: Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:nim_core_v2_web/nim_core_web.dart that imports:
  • package:nim_core_v2_platform_interface/nim_core_v2_platform_interface.dart that imports:
  • package:nim_core_v2_platform_interface/src/platform_interface/setting/platform_interface_settings_service.dart that imports:
  • package:nim_core_v2_platform_interface/src/method_channel/method_channel_settings_service.dart that imports:
  • dart:io
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 5 issues. Showing the first 2:

ERROR: The method 'allowInterop' isn't defined for the type 'NimCoreWebPlugin'.

lib/nim_core_web.dart:20:30

   ╷
20 │     context["__yx_emit__"] = allowInterop(handleOnEvent);
   │                              ^^^^^^^^^^^^
   ╵

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

ERROR: The method 'allowInterop' isn't defined for the type 'NimCoreWebPlugin'.

lib/nim_core_web.dart:57:26

   ╷
57 │       'successCallback': allowInterop((res) {
   │                          ^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
nim_core_v2_platform_interface ^10.4.0 10.9.4 10.9.4
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
html - 0.15.6 0.15.6
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_html - 2.3.0 2.3.0
universal_io - 2.3.1 2.3.1
vector_math - 2.2.0 2.2.0

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_METHOD - lib/nim_core_web.dart:20:30 - The method 'allowInterop' isn't defined for the type 'NimCoreWebPlugin'.
  • UNDEFINED_METHOD - lib/nim_core_web.dart:57:26 - The method 'allowInterop' isn't defined for the type 'NimCoreWebPlugin'.
  • UNDEFINED_METHOD - lib/nim_core_web.dart:62:24 - The method 'allowInterop' isn't defined for the type 'NimCoreWebPlugin'.

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.23.3, Flutter 3.38.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
80
points
255
downloads

Publisher

verified publisheryunxin.163.com

Weekly Downloads

web implementation of the nim_core plugin. that is a Flutter plugin for NetEase IM SDK.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, nim_core_v2_platform_interface

More

Packages that depend on nim_core_v2_web

Packages that implement nim_core_v2_web