North Pittsburgh Meatpackers
    Have ideas to improve npm?Join in the discussion! »

    @flexem/cordova-plugin-ezviz

    1.0.1 • Public • Published

    海康萤石的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
    

    Install

    npm i @flexem/cordova-plugin-ezviz

    DownloadsWeekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    63.7 MB

    Total Files

    887

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar