From 0eda4d42df860ec7ce4dff56da5e6dbb735a7f63 Mon Sep 17 00:00:00 2001 From: reyoung Date: Wed, 6 Aug 2014 17:43:01 +0800 Subject: [PATCH] Fix receive typo in JPushPlugin Fix typo, make jpush can receive message in android... --- src/android/JPushPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/JPushPlugin.java b/src/android/JPushPlugin.java index b8af503..2f48493 100644 --- a/src/android/JPushPlugin.java +++ b/src/android/JPushPlugin.java @@ -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);