2.0.0 • Published 2 years ago

@flexem/cordova-plugin-ezviz v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

海康萤石的phonegap/cordova 插件

Using

Install the plugin $ cordova plugin add https://github.com/yoli799480165/cordova-plugin-ezviz.git --variable APP_KEY="Your APPKEY"

Ionic2 usage

Create a typing file: ezviz.d.ts

declare var ezviz: any;

In your page file:

ezviz.openCamera('appkey','accesstoken', 'sn', 0).then((ok) => {
    console.log(ok);
}, (error) => {
    console.log(error); 
});

Install iOS or Android platform

cordova platform add android

Run the code

cordova run android --device
2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

5 years ago