平台: Android 5.1和Android6.1
除非我在CardIO.canScan之前设置一个警告,否则相机扫描卡片或表格可以采取手动输入,但不返回任何东西。该警报似乎触发了一些事件,这些事件调用了扫描仪的完整功能。我尝试使用其他方法,如consoles.log或$cordovaDialogs.beep(3),这样我就不必使用警报,但没有成功。问题只针对iOS,而不是任何其他平台。甚至试过的设备都准备好了,但不起作用。
CardIO.scan({ "collect_card_number":true,"collect_expiry":false,"requireExpiry":false,"collect_cvv":false,"requireCVV":false,"collect_zip":false,"shows_first_use_alert":true,"disable_manual_entry_buttons":false,"keepApplicationTheme": true,"useCardIOLogo":true,"hideCardIOLogo":true },onCardIOComplete,onCardIOCancel );
警觉(“成功”);
CardIO.canScan(onCardIOCheck);
发布于 2016-09-10 19:21:49
CardIO.canScan(onCardIOCheck)中断了扫描流程。我把它评论掉了,这就解决了这个问题。
https://stackoverflow.com/questions/39312045
复制相似问题