mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 22:55:02 +08:00
fix bug
修复应用在后台点击通知无法触发点击事件的 bug。
This commit is contained in:
parent
4edee3e2d3
commit
5fb1a440c4
@ -131,6 +131,13 @@ public class JPushPlugin extends CordovaPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
cordovaActivity = null;
|
||||
instance = null;
|
||||
}
|
||||
|
||||
private static JSONObject getMessageObject(String message,
|
||||
Map<String, Object> extras) {
|
||||
JSONObject data = new JSONObject();
|
||||
|
Loading…
Reference in New Issue
Block a user