我和Appcelerator钛公司合作。我想在我的应用程序中使用Barcode Scanner
。在iOS平台上,我找到了一个模块"Ti.Barcode-iPhone"
开源。但是,我想要的是安卓和iOS平台。我在哪能找到它?
发布于 2018-04-30 10:03:40
有由Appcelerator提供的官方模块:https://github.com/appcelerator-modules/ti.barcode
下载您需要的版本( TiSDK 7.x也有一个),然后将它们包括在tiapp.xml
中,然后轻松地包含:
var Barcode = require('ti.barcode');
如何包含的示例在每个平台的示例目录中列出,如下所示:https://github.com/appcelerator-modules/ti.barcode/blob/master/android/example/app.js
https://stackoverflow.com/questions/50094116
复制相似问题