moongate_flutter_sdk 0.0.2
moongate_flutter_sdk: ^0.0.2 copied to clipboard
MoonGate Web3 Flutter Authentication SDK
We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: GPL-3.0
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 51 API elements (2.0 %) 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: auth_webview
, auth_webview.AuthWebView
, auth_webview.AuthWebView.AuthWebView.new
, auth_webview.AuthWebView.onAuthenticated
, auth_webview.AuthWebView.url
.
10/10 points: Package has an example
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:moongate_flutter_sdk/auth_webview.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:moongate_flutter_sdk/auth_webview.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:moongate_flutter_sdk/auth_webview.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:moongate_flutter_sdk/auth_webview.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:moongate_flutter_sdk/auth_webview.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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/moongate_flutter_sdk/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: The value of the field '_channel' isn't used.
lib/moongate_auth.dart:10:30
╷
10 │ static const MethodChannel _channel = const MethodChannel('moongate_auth');
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/moongate_auth.dart
WARNING: The value of the field '_authBaseUrl' isn't used.
lib/moongate_auth.dart:13:16
╷
13 │ final String _authBaseUrl = 'https://auth.moongate.one/provider';
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/moongate_auth.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.1 |
3.0.6 | 3.0.6 | |
flutter_inappwebview |
^5.3.2 |
5.8.0 | 6.1.5 | |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 9.2.4 | |
flutter_webview_plugin |
^0.4.0 |
0.4.0 | 0.4.0 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
http |
^0.13.3 |
0.13.6 | 1.4.0 | |
jwt_decode |
^0.3.1 |
0.3.1 | 0.3.1 | |
ntcdcrypto |
^0.2.0 |
0.2.0 | 0.4.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
sha3 |
^0.2.0 |
0.2.0 | 0.2.0 | |
siwe_flutter |
^0.0.12 |
0.0.13 | 0.0.13 | |
sss256 |
^1.0.0 |
1.0.0 | 1.0.0 | |
uni_links |
^0.5.0 |
0.5.1 | 0.5.1 | Discontinued |
url_launcher |
^6.0.9 |
6.3.1 | 6.3.1 | |
walletconnect_dart |
^0.0.11 |
0.0.11 | 0.0.11 | |
walletconnect_qrcode_modal_dart |
^0.4.0 |
0.4.3 | 0.4.3 | |
web3dart |
^2.6.1 |
2.6.1 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
cached_network_image |
- | 3.3.1 | 3.4.1 | |
cached_network_image_platform_interface |
- | 4.0.0 | 4.1.1 | |
cached_network_image_web |
- | 1.2.0 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
cryptography |
- | 2.7.0 | 2.7.0 | |
eip1559 |
- | 0.6.1 | 0.6.2 | |
eip55 |
- | 1.0.2 | 1.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_cache_manager |
- | 3.3.1 | 3.4.1 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 2.1.1 | 4.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
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 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 | |
platform |
- | 3.1.6 | 3.1.6 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
qr |
- | 3.0.2 | 3.0.2 | |
qr_flutter |
- | 4.1.0 | 4.1.0 | |
rxdart |
- | 0.27.7 | 0.28.0 | |
sec |
- | 1.1.0 | 1.1.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.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 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uni_links_platform_interface |
- | 1.0.0 | 1.0.0 | |
uni_links_web |
- | 0.1.0 | 0.1.0 | |
url_launcher_android |
- | 6.3.16 | 6.3.16 | |
url_launcher_ios |
- | 6.3.3 | 6.3.3 | |
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.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 3.0.7 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
wallet |
- | 0.0.13 | 0.0.18 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 issues. Showing the first 2:
The constraint `^5.3.2` 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.
The constraint `^8.0.0` on flutter_secure_storage does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions flutter_secure_storage
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.