delete callback not used

This commit is contained in:
zhangqinghe
2014-07-24 16:41:42 +08:00
parent 8e0fee7276
commit 992246235d
3 changed files with 5 additions and 18 deletions
+4 -4
View File
@@ -140,7 +140,7 @@ public class JPushPlugin extends CordovaPlugin {
void init(JSONArray data,CallbackContext callbackContext){
JPushInterface.init(this.cordova.getActivity().getApplicationContext());
callbackContext.success();
//callbackContext.success();
}
void setDebugMode(JSONArray data, CallbackContext callbackContext) {
@@ -314,7 +314,7 @@ public class JPushPlugin extends CordovaPlugin {
} catch (JSONException e) {
e.printStackTrace();
}
callbackContext.success(obj);
//callbackContext.success(obj);
}
void setCustomPushNotificationBuilder(JSONArray data,
@@ -331,13 +331,13 @@ public class JPushPlugin extends CordovaPlugin {
} catch (JSONException e) {
e.printStackTrace();
}
callbackContext.success(obj);
//callbackContext.success(obj);
}
void clearAllNotification(JSONArray data,
CallbackContext callbackContext){
JPushInterface.clearAllNotifications(this.cordova.getActivity());
callbackContext.success();
//callbackContext.success();
}
void clearNotificationById(JSONArray data,