mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 05:22:57 +08:00
Fix receive typo in JPushPlugin
Fix typo, make jpush can receive message in android...
This commit is contained in:
parent
206efc7b2c
commit
0eda4d42df
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user