im sdk 3.3.2.13740.13759
杀掉进程后,无法接收推送
if (MsfSdkUtils.isMainProcess(this)) {
Log.e(TAG, "init: isMainProcess");
TIMManager.getInstance().setOfflinePushListener(new TIMOfflinePushListener() {
@Override
public void handleNotification(TIMOfflinePushNotification notification) {
Log.e(TAG, "handleNotification: 22222");
if (notification.getGroupReceiveMsgOpt() == TIMGroupReceiveMessageOpt.ReceiveAndNotify) {
//消息被设置为需要提醒
notification.doNotify(getApplicationContext(), R.mipmap.ic_launcher);
}
}
});
}
https://cloud.tencent.com/developer/ask/184168
以参考此问题答案,仍然无法收到推送