nim_core_web 1.0.2 copy "nim_core_web: ^1.0.2" to clipboard
nim_core_web: ^1.0.2 copied to clipboard

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

70/ 160
pub points
705
downloads

We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):

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

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

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

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 8 API elements (25.0 %) 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.initEmit, nim_core_web.NimCoreWebPlugin.instance.

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_web/nim_core_web.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

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

Because:

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

Because:

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

Because:

  • package:nim_core_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_web/nim_core_web.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/universal_io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.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 4 issues. Showing the first 2:

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

lib/nim_core_web.dart:50:26

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

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:55:24

   ╷
55 │       'errorCallback': allowInterop((err) {
   │                        ^^^^^^^^^^^^
   ╵

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_platform_interface ^1.4.1 1.9.0 1.9.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.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 2 errors:

  • UNDEFINED_METHOD - lib/nim_core_web.dart:50:26 - The method 'allowInterop' isn't defined for the type 'NimCoreWebPlugin'.
  • UNDEFINED_METHOD - lib/nim_core_web.dart:55: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.2, Flutter 3.38.1, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
70
points
705
downloads

Publisher

verified publisheryunxin.163.com

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, nim_core_platform_interface

More

Packages that depend on nim_core_web

Packages that implement nim_core_web