flutter_dojah_kyc 0.6.7
flutter_dojah_kyc: ^0.6.7 copied to clipboard
A webview implementation of dojah KYC Widget. Dojah helps businesses verify identity, beat fraud, stay compliant and onboard customers safely.
We analyzed this package 21 days ago, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository URL mismatch: expected https://github.com/dojah-inc/Flutter-SDK but got https://github.com/dojah-inc/flutter-kyc.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: flutter_dojah_kyc, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 49 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: flutter_dojah_kyc, flutter_dojah_kyc.DojahKYC, flutter_dojah_kyc.DojahKYC.DojahKYC.new, flutter_dojah_kyc.DojahKYC.amount, flutter_dojah_kyc.DojahKYC.appId.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:flutter_dojah_kyc/flutter_dojah_kyc.dartthat imports:package:flutter_dojah_kyc/webview_screen.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:flutter_dojah_kyc/flutter_dojah_kyc.dartthat imports:package:flutter_dojah_kyc/webview_screen.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package not compatible with platform Web
Because:
package:flutter_dojah_kyc/flutter_dojah_kyc.dartthat imports:package:flutter_dojah_kyc/webview_screen.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: 'androidOnPermissionRequest' is deprecated and shouldn't be used. Use onPermissionRequest instead.
lib/webview_screen.dart:369:21
╷
369 │ androidOnPermissionRequest:
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/webview_screen.dart
INFO: 'PermissionRequestResponse' is deprecated and shouldn't be used. Use PermissionResponse instead.
lib/webview_screen.dart:371:30
╷
371 │ return PermissionRequestResponse(
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/webview_screen.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
location |
^5.0.3 |
5.0.3 | 8.0.1 | |
permission_handler |
^11.0.0 |
11.4.0 | 12.0.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.0.3` on location does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions location to update the constraint.
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/webview_screen.dart:182:25- The method 'onDeniedCallback' isn't defined for the type 'Permission'.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.