flutter_dojah_kyc 0.2.3 flutter_dojah_kyc: ^0.2.3 copied to clipboard
A webview implementation of dojah KYC Widget. Dojah helps businesses verify identity, beat fraud, stay compliant and onboard customers safely.
final DojahKYCWidget _dojahKYC = DojahKYC(
appId: 'xxxxxxxxxxxxxxx', //required
publicKey: 'prod_pk_xxxxxxxxxxxxxx', //required
type : 'custom'
userData, //object
metaData, //object (optional)
govData, //object (optional)
config, //object (optional)
referenceId, //NB: referenceId length must be more that 10 characters
);
_dojahKYC.open(context, onSuccess: (result) {
print('$result');
}, onError: (err) {
print('error: $err');
});