flutter_dojah_kyc 0.5.2 flutter_dojah_kyc: ^0.5.2 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 26 hours ago, and awarded it 100 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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 46 API elements (2.2 %) 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
, 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.dart
that imports:package:flutter_dojah_kyc/webview_screen.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:flutter_dojah_kyc/flutter_dojah_kyc.dart
that imports:package:flutter_dojah_kyc/webview_screen.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package not compatible with platform Web
Because:
package:flutter_dojah_kyc/flutter_dojah_kyc.dart
that imports:package:flutter_dojah_kyc/webview_screen.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:flutter_dojah_kyc/flutter_dojah_kyc.dart
that imports:package:flutter_dojah_kyc/webview_screen.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 5 issues. Showing the first 2:
INFO: 'androidOnPermissionRequest' is deprecated and shouldn't be used. Use onPermissionRequest instead.
lib/webview_screen.dart:274:15
╷
274 │ 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:276:24
╷
276 │ 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 |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_inappwebview |
^6.0.0 |
6.1.5 | 6.1.5 |
location |
^5.0.3 |
5.0.3 | 7.0.1 |
permission_handler |
^11.0.0 |
11.3.1 | 11.3.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.
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:158: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.22.15
, Flutter 3.24.5
, Dart 3.5.4
.
Check the analysis log for details.