Fix receive typo in JPushPlugin

Fix typo, make jpush can receive message in android...
This commit is contained in:
reyoung 2014-08-06 17:43:01 +08:00 committed by zhangqinghe
parent aa53b5a214
commit 1b0c64f235

View File

@ -91,7 +91,7 @@ public class JPushPlugin extends CordovaPlugin {
}
JSONObject data = notificationObject(message, extras);
String js = String
.format("window.plugins.jPushPlugin.recieveMessageInAndroidCallback('%s');",
.format("window.plugins.jPushPlugin.receiveMessageInAndroidCallback('%s');",
data.toString());
try {
instance.webView.sendJavascript(js);