web3_webview 1.0.7
web3_webview: ^1.0.7 copied to clipboard
The bridge communicate between in-app webview and mobile-app by standard EIP-1193.
We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):
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
.
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 1305226 elements... Initialized dartdoc with 1813 libraries Generating docs for library ethereum/ethereum_provider.dart from package:web3_webview/ethereum/ethereum_provider.dart... Generating docs for library ethereum/wallet_dialog_service.dart from package:web3_webview/ethereum/wallet_dialog_service.dart... Generating docs for library json_rpc_method.dart from package:web3_webview/json_rpc_method.dart... Generating docs for library web3_webview.dart from package:web3_webview/web3_webview.dart... Generating docs for library transaction/transaction_handler.dart from package:web3_webview/transaction/transaction_handler.dart... [19 more lines] ERR: warning: unresolved doc reference [6.7.0] from package-web3_webview: file:///tmp/pana_WDSNBO warning: unresolved doc reference ["Canceled"] from web3_js_bridge_callback.Web3Result.cancel: (file:///tmp/pana_WDSNBO/lib/web3_js_bridge_callback.dart:6:8) warning: web3_webview has no library level documentation comments from web3_webview: (file:///tmp/pana_WDSNBO/lib/web3_webview_eip1193.dart:1:1) error: file already written at "web3_webview/index.html" for symbol web3_webview: (file:///tmp/pana_WDSNBO/lib/web3_webview_eip1193.dart:1:1) conflicting with file already generated by web3_webview: (file:///tmp/pana_WDSNBO/lib/web3_webview.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [266 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
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
INFO: The import of 'package:flutter/services.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/web3_webview_eip1193.dart:9:8
╷
9 │ import 'package:flutter/services.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/web3_webview_eip1193.dart
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 | 0.1.3 | |
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.4.0 | 1.4.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.1.4 | 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
.
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.
The constraint `^2.7.3` on web3dart does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web3dart
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.