You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
scan camera is open but not get any value in console .also not enter inside CardIO.scan function
my code :
import { CardIO } from 'ionic-native';
scancard():any{
CardIO.canScan().then((res: boolean) => {
console.log('begin');
if (res) {
let options = {
requireCardholderName: true,
requireExpiry: true,
requireCCV: true,
requirePostalCode: true,
scanInstructions: "Scan your card",
scanExpiry: true,
scanCardHolderName: true,
keepApplicationTheme:true,
guideColor: '#12be76',
hideCardIOLogo: true,
useCardIOLogo:false,
};
CardIO.scan(options).then((data) => {
console.log("begin Scan");
console.log(data);
alert(data);
}, err => {
console.log("Error message :" + err);
// An error occurred
});
}
}
///any help
The text was updated successfully, but these errors were encountered: