From: Piotr Kosko Date: Wed, 11 May 2016 12:30:42 +0000 (+0200) Subject: Fixed method name in JS layer X-Git-Tag: accepted/tizen/common/20160512.144010~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F69095%2F1;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git Fixed method name in JS layer [Bug] name of method was incorrect Change-Id: I05c9ee1b389b1a31d1d702992580275f771493c8 Signed-off-by: Piotr Kosko --- diff --git a/src/push/push_api.js b/src/push/push_api.js index c103654..8b36f7a 100644 --- a/src/push/push_api.js +++ b/src/push/push_api.js @@ -74,7 +74,7 @@ PushManager.prototype.register = function() { } ]); - var ret = native.call('Push_register', {}, function(msg) { + var ret = native.call('Push_registerApplication', {}, function(msg) { if (msg.error) { if (validatorType.isFunction(data.errorCallback)) { data.errorCallback(native.getErrorObject(msg)); @@ -108,7 +108,7 @@ PushManager.prototype.unregister = function() { nullable: true } ]); - var result = native.call('Push_unregister', {}, function(msg) { + var result = native.call('Push_unregisterApplication', {}, function(msg) { if (msg.error) { if (validatorType.isFunction(data.errorCallback)) { data.errorCallback(native.getErrorObject(msg));