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
69%
popularity

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

failed
Provide documentation
10 / 20trigger folding of the section

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 644370 elements... Initialized dartdoc with 819 libraries Generating docs for library formatter_balance.dart from package:web3_provider/formatter_balance.dart... Generating docs for library inapp_webview_eip1193.dart from package:web3_provider/inapp_webview_eip1193.dart... Generating docs for library js_bridge_callback_bean.dart from package:web3_provider/js_bridge_callback_bean.dart... Generating docs for library web3_provider.dart from package:web3_provider/web3_provider.dart... Generating docs for library json_util.dart from package:web3_provider/json_util.dart... [1 more lines] ERR: warning: unresolved doc reference [customPathProvider] from package-web3_provider: file:///tmp/pana_CBVNYE warning: unresolved doc reference [customWalletName] from package-web3_provider: file:///tmp/pana_CBVNYE warning: web3_provider has no library level documentation comments from web3_provider: (file:///tmp/pana_CBVNYE/lib/inapp_webview_eip1193.dart:1:9) warning: unresolved doc reference [origin] from web3_provider.InAppWebViewEIP1193.androidOnGeolocationPermissionsShowPrompt: (file:///tmp/pana_CBVNYE/lib/inapp_webview_eip1193.dart:608:7) in documentation inherited from web3_provider.InAppWebViewEIP1193.androidOnGeolocationPermissionsShowPrompt: (file:///tmp/pana_CBVNYE/lib/inapp_webview_eip1193.dart:608:7) warning: unresolved doc reference [jsBeforeUnloadRequest] [194 more lines]

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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.

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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
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
decimal ^2.3.0 2.3.3 3.0.2
flutter flutter 0.0.0 0.0.0
flutter_inappwebview ^5.7.1 5.8.0 6.1.5
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
rational - 2.2.3 2.2.3
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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.

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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

12
likes
130
pub points
69%
popularity

Publisher

verified publisherposition.exchange

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

decimal, flutter, flutter_inappwebview

More

Packages that depend on web3_provider