web3_provider 1.1.4 copy "web3_provider: ^1.1.4" to clipboard
web3_provider: ^1.1.4 copied to clipboard

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

12
likes
130/ 160
pub points
61
downloads

We analyzed this package 3 days ago, and awarded it 130 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: BSD-3-Clause.

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

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

OUT: Documenting web3_provider... Discovering libraries... Linking elements... Precaching local docs for 662677 elements... Initialized dartdoc with 842 libraries Generating docs for library inapp_webview_eip1193.dart from package:web3_provider/inapp_webview_eip1193.dart... Generating docs for library formatter_balance.dart from package:web3_provider/formatter_balance.dart... Generating docs for library js_bridge_callback_bean.dart from package:web3_provider/js_bridge_callback_bean.dart... Generating docs for library json_util.dart from package:web3_provider/json_util.dart... Generating docs for library web3_provider.dart from package:web3_provider/web3_provider.dart... [1 more lines] ERR: warning: unresolved doc reference [customPathProvider] from package-web3_provider: file:///tmp/pana_ZTDEYF warning: unresolved doc reference [customWalletName] from package-web3_provider: file:///tmp/pana_ZTDEYF warning: web3_provider has no library level documentation comments from web3_provider: (file:///tmp/pana_ZTDEYF/lib/inapp_webview_eip1193.dart:1:1) warning: unresolved doc reference [origin] from web3_provider.InAppWebViewEIP1193.androidOnGeolocationPermissionsShowPrompt: (file:///tmp/pana_ZTDEYF/lib/inapp_webview_eip1193.dart:608:7) in documentation inherited from web3_provider.InAppWebViewEIP1193.androidOnGeolocationPermissionsShowPrompt: (file:///tmp/pana_ZTDEYF/lib/inapp_webview_eip1193.dart:608:7) warning: unresolved doc reference [jsBeforeUnloadRequest] [199 more lines]

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:web3_provider/web3_provider.dart that imports:
  • package:web3_provider/js_bridge_callback_bean.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:web3_provider/web3_provider.dart that imports:
  • package:web3_provider/js_bridge_callback_bean.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:web3_provider/web3_provider.dart that imports:
  • package:web3_provider/js_bridge_callback_bean.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:web3_provider/web3_provider.dart that imports:
  • package:web3_provider/js_bridge_callback_bean.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:web3_provider/web3_provider.dart that imports:
  • package:web3_provider/js_bridge_callback_bean.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/web_message/main.dart that imports:
  • package:flutter_inappwebview/src/web_message/web_message_listener.dart that imports:
  • package:flutter_inappwebview/src/types.dart that imports:
  • package:flutter_inappwebview/src/web_message/web_message_channel.dart that imports:
  • package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.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

INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.

lib/inapp_webview_eip1193.dart:6:8

  ╷
6 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/inapp_webview_eip1193.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
decimal ^2.3.0 2.3.3 3.2.4
flutter_inappwebview ^5.7.1 5.8.0 6.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
rational - 2.2.3 2.2.3
vector_math - 2.1.4 2.2.0

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

The constraint `^2.3.0` on decimal does not support the stable version `3.0.0`.

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

The constraint `^5.7.1` on flutter_inappwebview does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions flutter_inappwebview 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
12
likes
130
points
61
downloads

Publisher

verified publisherposition.exchange

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

decimal, flutter, flutter_inappwebview

More

Packages that depend on web3_provider