mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-05-11 13:18:06 +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,
|
private static JSONObject getMessageObject(String message,
|
||||||
Map<String, Object> extras) {
|
Map<String, Object> extras) {
|
||||||
JSONObject data = new JSONObject();
|
JSONObject data = new JSONObject();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user