From 24dea0821fbb6eedce7ae7efe93b58806ee3b909 Mon Sep 17 00:00:00 2001 From: Hevin <328066446@qq.com> Date: Fri, 8 Apr 2016 09:43:00 +0800 Subject: [PATCH] version 2.1.1 add package.json, upload plugin to cordova plugins --- package.json | 35 +++++++++++++++++++++++++++++++++++ www/JPushPlugin.js | 1 - 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..c73c9ca --- /dev/null +++ b/package.json @@ -0,0 +1,35 @@ +{ + "name": "jpush-phonegap-plugin", + "version": "2.1.1", + "description": "JPush for cordova plugin", + "cordova": { + "id": "cn.jpush.phonegap.JPushPlugin", + "platforms": [ + "ios", + "android" + ] + }, + "repository": { + "type": "git", + "url": "git+https://github.com/jpush/jpush-phonegap-plugin.git" + }, + "keywords": [ + "JPush", + "push", + "ecosystem:cordova", + "cordova-ios", + "cordova-android" + ], + "engines": [ + { + "name": "cordova", + "version": ">=3.0" + } + ], + "author": "jpush", + "license": "Apache 2.0 License", + "bugs": { + "url": "https://github.com/jpush/jpush-phonegap-plugin/issues" + }, + "homepage": "https://github.com/jpush/jpush-phonegap-plugin#readme" +} diff --git a/www/JPushPlugin.js b/www/JPushPlugin.js index a9b5fcd..1b9898b 100644 --- a/www/JPushPlugin.js +++ b/www/JPushPlugin.js @@ -253,7 +253,6 @@ JPushPlugin.prototype.setDebugMode = function(mode) { } } -//setDebugMode JPushPlugin.prototype.clearAllNotification = function() { if(device.platform == "Android") { data = [];