cordova-plugin-huawei-push
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "cordova-plugin-huawei-push", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Cordova Push Plugin", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -11,3 +11,3 @@ var HuaweiPush = function () { }; | ||
HuaweiPush.prototype.register = function (successCallback, errorCallback, options) { | ||
cordova.exec(successCallback, errorCallback, "HuaweiPushPlugin", "register", [options]); | ||
cordova.exec(successCallback, errorCallback, "HuaweiPushPlugin", "register", options); | ||
}; | ||
@@ -21,3 +21,3 @@ | ||
HuaweiPush.prototype.onNewToken = function (successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "HuaweiPushPlugin", "onNewToken", [options]); | ||
cordova.exec(successCallback, errorCallback, "HuaweiPushPlugin", "onNewToken", []); | ||
}; | ||
@@ -24,0 +24,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28604