reown_core 1.0.4 copy "reown_core: ^1.0.4" to clipboard
reown_core: ^1.0.4 copied to clipboard

Reown is the onchain UX platform that provides toolkits built on top of the WalletConnect Network

1
likes
120/ 160
pub points
2.22k
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

117 out of 1121 API elements (10.4 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: basic_models, basic_models.ReownCoreError, basic_models.ReownCoreError.ReownCoreError, basic_models.ReownCoreError.ReownCoreError.fromJson, basic_models.ReownCoreError.code.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ 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 `Android`.

Because:

  • package:reown_core/reown_core.dart that imports:
  • package:reown_core/core_impl.dart that imports:
  • package:reown_core/utils/utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:reown_core/reown_core.dart that imports:
  • package:reown_core/core_impl.dart that imports:
  • package:reown_core/utils/utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:reown_core/reown_core.dart that imports:
  • package:reown_core/core_impl.dart that imports:
  • package:reown_core/connectivity/connectivity.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:reown_core/reown_core.dart that imports:
  • package:reown_core/core_impl.dart that imports:
  • package:reown_core/utils/utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:reown_core/reown_core.dart that imports:
  • package:reown_core/core_impl.dart that imports:
  • package:reown_core/utils/utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:reown_core/reown_core.dart that imports:
  • package:reown_core/core_impl.dart that imports:
  • package:reown_core/utils/utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_linux.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:reown_core/reown_core.dart that imports:
  • package:reown_core/core_impl.dart that imports:
  • package:reown_core/utils/utils.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_linux.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

WARNING: The annotation 'JsonSerializable' can only be used on classes.

lib/models/basic_models.dart:12:4

   ╷
12 │   @JsonSerializable(includeIfNull: false)
   │    ^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The annotation 'JsonSerializable' can only be used on classes.

lib/models/json_rpc_models.dart:18:4

   ╷
18 │   @JsonSerializable(includeIfNull: false)
   │    ^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
bs58 ^1.0.2 1.0.2 1.0.2
connectivity_plus ^6.0.4 6.1.1 6.1.1
convert ^3.0.1 3.1.2 3.1.2
cryptography ^2.0.5 2.7.0 2.7.0
ed25519_edwards ^0.3.1 0.3.1 0.3.1
event ^2.1.2 2.1.2 3.1.0
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.2.0 2.4.4 2.4.4
http ^1.2.0 1.2.2 1.2.2
json_annotation ^4.8.1 4.9.0 4.9.0
logger ^2.2.0 2.5.0 2.5.0
package_info_plus ^8.0.2 8.1.2 8.1.2
pointycastle ^3.9.1 3.9.1 3.9.1
shared_preferences ^2.2.2 2.3.4 2.3.4
stack_trace ^1.11.1 1.12.1 1.12.1
stream_channel ^2.1.0 2.1.3 2.1.3
url_launcher ^6.3.1 6.3.1 6.3.1
web_socket_channel ^2.4.5 2.4.5 3.0.1
x25519 ^0.1.1 0.1.1 0.1.1
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
base_x - 2.0.1 2.0.1
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
crypto - 3.0.6 3.0.6
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nm - 0.5.0 0.5.0
package_info_plus_platform_interface - 3.0.2 3.0.2
path - 1.9.1 1.9.1
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
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.1.0
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^2.1.2` on event does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions event to update the constraint.

The constraint `^2.4.5` on web_socket_channel does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions web_socket_channel to update the constraint.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.