nim_core_web 1.0.2
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.
We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: nim_core_web, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: nim_core_web.
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.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:nim_core_web/nim_core_web.dartthat declares support for platforms:Web.
Package does not support platform `Windows`.
Because:
package:nim_core_web/nim_core_web.dartthat declares support for platforms:Web.
Package does not support platform `Linux`.
Because:
package:nim_core_web/nim_core_web.dartthat declares support for platforms:Web.
Package does not support platform `macOS`.
Because:
package:nim_core_web/nim_core_web.dartthat 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.dartthat imports:package:nim_core_platform_interface/nim_core_platform_interface.dartthat imports:package:nim_core_platform_interface/src/platform_interface/team/team.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.