$ ionic start SmSt tabs
$ cd SmSt
安装自定义插件
ionic cordova plugin add 你插件的存储路径
ionic cordova plugin add file:../definedPlugin/blenfc
npm install --save file:../definedPlugin/blenfc
去掉package.json 中的bleNFC^1.0.0
会在SmSt 根目录下新增plugins目录,并生成相关配置文件和代码。
授权登陆
npm install keycloak-js --save
echart:
npm install echarts --save
npm install jquery --save
npm install jquery.jedate --save
Android Permissions
$ ionic cordova plugin add cordova-plugin-android-permissions
$ npm install --save @ionic-native/android-permissions
Screen Orientation
$ ionic cordova plugin add cordova-plugin-screen-orientation
$ npm install --save @ionic-native/screen-orientation
Toast
$ ionic cordova plugin add cordova-plugin-x-toast
$ npm install --save @ionic-native/toast
Device
$ ionic cordova plugin add cordova-plugin-device
$ npm install --save @ionic-native/device
In App Browser
$ ionic cordova plugin add cordova-plugin-inappbrowser
$ npm install --save @ionic-native/in-app-browser
NFC
$ ionic cordova plugin add phonegap-nfc
$ npm install --save @ionic-native/nfc
Barcode Scanner
https://issues.apache.org/jira/browse/CB-13497?focusedCommentId=16224447&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16224447
(barcodescanner.gradle : compile 'com.android.support:support-v4:23+')
$ ionic cordova plugin add phonegap-plugin-barcodescanner
$ npm install --save @ionic-native/barcode-scanner
bash build.sh dev
网友评论