mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-04-19 22:36:23 +08:00
修复应用在后台不能触发事件监听函数的 Bug
This commit is contained in:
parent
381395acaf
commit
b4c02a96d5
@ -206,9 +206,6 @@ public class JPushPlugin extends CordovaPlugin {
|
||||
if (instance == null) {
|
||||
return;
|
||||
}
|
||||
if (JPushPlugin.shouldCacheMsg) {
|
||||
return;
|
||||
}
|
||||
JSONObject data = openNotificationObject(alert, extras);
|
||||
String format = "window.plugins.jPushPlugin.receiveNotificationInAndroidCallback('%s');";
|
||||
final String js = String.format(format, data.toString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user