kyvshield_lite 0.0.3
kyvshield_lite: ^0.0.3 copied to clipboard
KyvShield KYC SDK — WebView wrapper. Same public API as the native SDK, powered by the KyvShield Web SDK loaded from the API server.
We analyzed this package 5 days ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://kyvshield.sn was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/innolink-sn/kyvshield_lite was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/innolink-sn/kyvshield_lite/issues was unreachable. Make sure that the website is reachable via HEAD requests.
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.
10/10 points: 20% or more of the public API has dartdoc comments
141 out of 289 API elements (48.8 %) have documentation comments.
Some symbols that are missing documentation: kyvshield_lite.CINAnalysisConfig.CINAnalysisConfig.new, kyvshield_lite.ChallengeAudioRepeat.count, kyvshield_lite.DocumentData.DocumentData.fromJson, kyvshield_lite.DocumentData.DocumentData.new, kyvshield_lite.DocumentResult.DocumentResult.fromJson.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:kyvshield_lite/kyvshield_lite.dartthat imports:package:kyvshield_lite/src/kyvshield.dartthat imports:package:kyvshield_lite/src/webview_screen.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:kyvshield_lite/kyvshield_lite.dartthat imports:package:kyvshield_lite/src/kyvshield.dartthat imports:package:kyvshield_lite/src/webview_screen.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:kyvshield_lite/kyvshield_lite.dartthat imports:package:kyvshield_lite/src/kyvshield.dartthat imports:package:kyvshield_lite/src/webview_screen.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Linux`.
Because:
package:kyvshield_lite/kyvshield_lite.dartthat imports:package:kyvshield_lite/src/kyvshield.dartthat imports:package:kyvshield_lite/src/webview_screen.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `macOS`.
Because:
package:kyvshield_lite/kyvshield_lite.dartthat imports:package:kyvshield_lite/src/kyvshield.dartthat imports:package:kyvshield_lite/src/webview_screen.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:kyvshield_lite/kyvshield_lite.dartthat imports:package:kyvshield_lite/src/kyvshield.dartthat imports:package:kyvshield_lite/src/webview_screen.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.
lib/src/config.dart:324:29
╷
324 │ final v = primaryColor!.value & 0xFFFFFF;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/config.dart
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.
lib/src/webview_screen.dart:186:83
╷
186 │ if (t.successColor != null) themeMap['successColor'] = '#${(t.successColor!.value & 0xFFFFFF).toRadixString(16).padLeft(6, '0').toUpperCase()}';
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/webview_screen.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
permission_handler |
^11.0.0 |
11.4.0 | 12.0.1 | |
webview_flutter |
^4.0.0 |
4.13.1 | 4.13.1 | |
webview_flutter_android |
^4.0.0 |
4.11.0 | 4.11.0 | |
webview_flutter_wkwebview |
^3.0.0 |
3.24.3 | 3.24.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
permission_handler_android |
- | 12.1.0 | 13.0.1 | |
permission_handler_apple |
- | 9.4.7 | 9.4.7 | |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 | |
permission_handler_platform_interface |
- | 4.3.0 | 4.3.0 | |
permission_handler_windows |
- | 0.2.1 | 0.2.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.0.0` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_METHOD-lib/src/webview_screen.dart:98:15- The method 'setGeolocationEnabled' isn't defined for the type 'AndroidWebViewController'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Flutter 3.41.6, Dart 3.11.4.
Check the analysis log for details.