flutter_dojah_kyc 0.5.6
flutter_dojah_kyc: ^0.5.6 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 2 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.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: flutter_dojah_kyc
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository URL mismatch: expected https://github.com/dojah-inc/Flutter-SDK
but got https://github.com/dojah-inc/flutter-kyc
.
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.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.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 6 issues. Showing the first 2:
INFO: 'androidOnPermissionRequest' is deprecated and shouldn't be used. Use onPermissionRequest instead.
lib/webview_screen.dart:291:15
╷
291 │ 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:293:24
╷
293 │ 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:171: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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.