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.

60/ 160
pub points
220
downloads

We analyzed this package 6 days ago, and awarded it 60 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.

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

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

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.6 10.9.6
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 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.11.0 4.11.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
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.10, Flutter 3.41.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
220
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