简体   繁体   English

Ionic iOS如何实现条形码和QRCode扫描仪

[英]Ionic ios How to implements a barcode and QRCode scanner

I have used this plugin for scanner functionality. 我已将此插件用于扫描仪功能。

In that QRCode works perfectly But Barcode scanner is not working. 这样,QRCode可以完美运行,但Barcode扫描仪无法正常工作。

Please note this part of plugin description. 请注意插件说明的这一部分。

Android 安卓系统

  • QR_CODE 二维码
  • DATA_MATRIX DATA_MATRIX
  • UPC_E UPC_E
  • UPC_A UPC_A
  • EAN_8 EAN_8
  • EAN_13 EAN_13
  • CODE_128 CODE_128
  • CODE_39 CODE_39
  • CODE_93 CODE_93
  • CODABAR 柯达巴
  • ITF ITF
  • RSS14 RSS14
  • PDF417 PDF417
  • RSS_EXPANDED RSS_EXPANDED

iOS 的iOS

  • QR_CODE 二维码
  • DATA_MATRIX DATA_MATRIX
  • UPC_E UPC_E
  • UPC_A UPC_A
  • EAN_8 EAN_8
  • EAN_13 EAN_13
  • CODE_128 CODE_128
  • CODE_39 CODE_39
  • ITF ITF

Your EAN_13 code is supported of both platforms. 两种平台都支持您的EAN_13代码。 And I have tried to scan your code with my Iphone. 而且我尝试用我的Iphone扫描您的代码。 In my case it works only if I put the code on a white background. 就我而言,仅当我将代码放在白色背景上时,它才有效。 I wasn't able to scan the code in the google view presenting the code with a darkgrey border. 我无法在Google视图中扫描带有深灰色边框的代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM