cordova插件使用

ng-cordova官网:
http://ngcordova.com/docs/plugins/geolocation/android

cordova官网:
http://cordova.apache.org/plugins/?platforms=cordova-androidios

支付
co.airsia.cordova.pingpp
地址:https://github.com/TongChia/cordova-plugin-pingpp
或https://github.com/litaoyu/pingpp-cordovagit

亲测有些问题,后本身修改可用。
注意:若是和分享插件使用须要调整微信sdk的引入github

截屏
com.darktalker.cordova.screenshot
地址:https://github.com/gitawego/cordova-screenshotweb

分享
com.ryanzx.cordova.plugin.sharesdk
地址:https://github.com/raistlinzx/cordova-plugin-sharesdkapache

百度地图定位
cordova-baidu-location
地址:https://github.com/huangliop/BaiduLocation4Cordovaapi

ios定位
cordova-plugin-geolocation
地址:https://github.com/driftyco/ng-cordova/blob/master/src/plugins/geolocation.js浏览器

后台录音
cordova-plugin-audio-recorder-api
地址:https://github.com/emj365/cordova-plugin-audio-recorder-api微信

注意:6.0运行时权限须要本身加,修改后可用app

通知
de.appplant.cordova.plugin.local-notification
地址:https://github.com/katzer/cordova-plugin-local-notifications

注意:图标有bug,自定义声音有bug

二维码
phonegap-plugin-barcodescanner
地址:https://github.com/phonegap/phonegap-plugin-barcodescanner

通过试验,上面这个插件很难定制。新插件:
https://github.com/bitpay/cordova-plugin-qrscanner
参考文章:
https://blog.csdn.net/qq_34665877/article/details/79107341
https://blog.csdn.net/a617332635/article/details/80524769
https://blog.csdn.net/u011127019/article/details/79181933
https://blog.csdn.net/qq_22502303/article/details/81605530

Cordova各个插件使用介绍系列
http://www.cnblogs.com/xiaojun-zxj/tag/ionic%20ngCordova插件/

cordova保存图片到相册
http://blog.csdn.net/u010730897/article/details/54923250
https://blog.csdn.net/LABa2/article/details/78357636

Failed to install cordova-plugin-photo-library,版本依赖错误
更新plugin.xml 中的 <dependency id="cordova-plugin-file" version="6.0.1"/> ,其中version修改成项目中安装的file插件版本

ionic开发——检测是否安装某APP,若是安装打开该APP
http://blog.csdn.net/yu17310133443/article/details/73199067
用到插件:
cordova plugin add https://github.com/lampaa/com.lampa.startapp.git //打开第三方APP
cordova plugin add cordova-plugin-appavailability --save//检测是否存在第三方App
cordova plugin add cordova-plugin-inappbrowser //应用内置浏览器

打开app在应用市场的页面
https://github.com/xmartlabs/cordova-plugin-market

自动更新获取app版本
cordova-plugin-app-version插件的使用
https://github.com/whiteoctober/cordova-plugin-app-version

选择图片、预览图片
https://github.com/terikon/cordova-plugin-photo-library
https://blog.csdn.net/zp511253886/article/details/73826800

打开浏览器,定制打开的浏览器
http://blog.csdn.net/u011127019/article/details/55258979
http://blog.csdn.net/u011127019/article/details/55259565

cordova使用整理
http://blog.csdn.net/u011127019/article/category/1819405/1

cordova-plugin-file 文件操做整理(一)
http://blog.csdn.net/u011127019/article/details/57081129