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
parent 206efc7b2c
commit 0eda4d42df

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);