flutter_dojah_kyc 0.1.7 flutter_dojah_kyc: ^0.1.7 copied to clipboard
A webview implementation of dojah financial. Dojah helps all companies build fintech solutions by making it easy, safe and reliable for people to connect their financial data to apps and services..
final DojahKYC _DojahKYC = DojahKYC(
appId: 'xxxxxxxxxxxxxxx', //required
publicKey: 'prod_pk_xxxxxxxxxxxxxx', //required
type : 'custom'
amount : 100, // (optional) used for Payment widget only
userData, //object
metaData, //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');
});