cordova-plugin-qianmi-qrcode

1.0.0 • Public • Published

QRCode

带扫描效果的cordova扫描二维码插件(支持iOS,swift开发)

Installation

cordova plugin add cordova-plugin-qianmi-qrcode

Usage

js调用

var button = document.getElementsByClassName('QRCode')[0];

button.onclick = function() {

    QRCode.scanCode(success, fail);

    function success(info) {
        alert(info);
    }

    function fail() {
        alert('扫描二维码失败');
    }
};

Supported Platforms

  • iOS

License


Apache License 2.0

Package Sidebar

Install

npm i cordova-plugin-qianmi-qrcode

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • offbye