jpush-react-native icon indicating copy to clipboard operation
jpush-react-native copied to clipboard

杀死应用之后怎么让应用还能接收到推送消息呢

Open cashely opened this issue 9 years ago • 6 comments

cashely avatar Dec 07 '16 02:12 cashely

@cashely JPush 默认的 PushService 是常驻后台的,讲道理杀死应用前没有调用 stopPush 的话应该是可以继续收到推送的

KenChoi1992 avatar Dec 07 '16 02:12 KenChoi1992

现在我这边在安卓上测试确实是收不到的,重新打开应用以后是会收到之前所有的推送

cashely avatar Dec 07 '16 03:12 cashely

@cashely componentWillUnmount 的时候有没有调用 stopPush?

KenChoi1992 avatar Dec 07 '16 03:12 KenChoi1992

没有

cashely avatar Dec 07 '16 04:12 cashely

@cashely 这是 JPush 的问题,建议你到我们的社区去提问 https://community.jiguang.cn/

KenChoi1992 avatar Dec 07 '16 05:12 KenChoi1992

@cashely 参考一下这个 https://community.jiguang.cn/t/topic/11184

KenChoi1992 avatar Dec 07 '16 06:12 KenChoi1992