web3_webview 1.0.7 copy "web3_webview: ^1.0.7" to clipboard
web3_webview: ^1.0.7 copied to clipboard

The bridge communicate between in-app webview and mobile-app by standard EIP-1193.

115/ 160
pub points
95
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.7").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

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

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

OUT: Documenting web3_webview... Discovering libraries... Linking elements... Precaching local docs for 1313807 elements... Initialized dartdoc with 1826 libraries Generating docs for library exceptions.dart from package:web3_webview/exceptions.dart... Generating docs for library utils/hex_utils.dart from package:web3_webview/utils/hex_utils.dart... Generating docs for library utils/validation_utils.dart from package:web3_webview/utils/validation_utils.dart... Generating docs for library utils/app_utils.dart from package:web3_webview/utils/app_utils.dart... Generating docs for library utils/bigint_utils.dart from package:web3_webview/utils/bigint_utils.dart... [19 more lines] ERR: warning: unresolved doc reference [6.7.0] from package-web3_webview: file:///tmp/pana_BBUSRK warning: unresolved doc reference ["Canceled"] from web3_js_bridge_callback.Web3Result.cancel: (file:///tmp/pana_BBUSRK/lib/web3_js_bridge_callback.dart:6:8) warning: web3_webview has no library level documentation comments from web3_webview: (file:///tmp/pana_BBUSRK/lib/web3_webview_eip1193.dart:1:1) error: file already written at "web3_webview/index.html" for symbol web3_webview: (file:///tmp/pana_BBUSRK/lib/web3_webview_eip1193.dart:1:1) conflicting with file already generated by web3_webview: (file:///tmp/pana_BBUSRK/lib/web3_webview.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [266 more lines]

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
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:web3_webview/web3_webview.dart that imports:
  • package:web3_webview/web3_js_bridge_callback.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package not compatible with platform Web

Because:

  • package:web3_webview/web3_webview.dart that imports:
  • package:web3_webview/web3_js_bridge_callback.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/webview_environment.dart that imports:
  • package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/main.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:web3_webview/web3_webview.dart that imports:
  • package:web3_webview/web3_js_bridge_callback.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/webview_environment.dart that imports:
  • package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/main.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Missing type annotation.

lib/ethereum/ethereum_provider.dart:103:3

    ╷
103 │   getAddressFromPrivateKey(String privateKey) {
    │   ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: The import of '../models/button_config.dart' is unnecessary because all of the used elements are also provided by the import of '../models/models.dart'.

lib/ethereum/wallet_dialog_service.dart:5:8

  ╷
5 │ import '../models/button_config.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
clipboard ^0.1.3 0.1.3 2.0.2
crypto ^3.0.6 3.0.6 3.0.6
flutter_inappwebview ^6.1.5 6.1.5 6.1.5
hex ^0.2.0 0.2.0 0.2.0
http ^1.3.0 1.5.0 1.5.0
intl ^0.20.2 0.20.2 0.20.2
modal_bottom_sheet ^3.0.0 3.0.0 3.0.0
pointycastle ^3.9.1 3.9.1 4.0.0
uuid ^4.5.1 4.5.1 4.5.1
web3dart ^2.7.3 2.7.3 3.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.3
fixnum - 1.1.1 1.1.1
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
json_rpc_2 - 3.0.3 4.0.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sec - 1.1.0 1.1.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.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
vector_math - 2.2.0 2.2.0
wallet - 0.0.13 0.0.18
web - 1.1.1 1.1.1

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

Found 3 issues. Showing the first 2:

The constraint `^0.1.3` on clipboard does not support the stable version `2.0.0`.

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

The constraint `^3.9.1` on pointycastle does not support the stable version `4.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
115
points
95
downloads

Publisher

verified publisherdatit309.is-a.dev

Weekly Downloads

The bridge communicate between in-app webview and mobile-app by standard EIP-1193.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

clipboard, crypto, flutter, flutter_inappwebview, hex, http, intl, modal_bottom_sheet, pointycastle, uuid, web3dart

More

Packages that depend on web3_webview