flutter_dojah_kyc 0.5.2 copy "flutter_dojah_kyc: ^0.5.2" to clipboard
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.

4
likes
100/ 160
pub points
82%
popularity

We analyzed this package 26 hours ago, and awarded it 100 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
0 / 20trigger folding of the section

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.

failed
Platform support
20 / 20trigger folding of the section

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.1.1 1.1.1
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
location_platform_interface - 3.1.2 5.0.0
location_web - 4.2.0 5.0.4
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0

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.

4
likes
100
pub points
82%
popularity

Publisher

unverified uploader

A webview implementation of dojah KYC Widget. Dojah helps businesses verify identity, beat fraud, stay compliant and onboard customers safely.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, location, permission_handler

More

Packages that depend on flutter_dojah_kyc