提交 d409e2d7 编写于 作者: fxy060608's avatar fxy060608

feat(push): enable socket (App)

上级 5e8a0331
...@@ -188,7 +188,7 @@ else { ...@@ -188,7 +188,7 @@ else {
// #ifdef H5 // #ifdef H5
initBroadcastChannel(GtPush); initBroadcastChannel(GtPush);
// #endif // #endif
// #ifdef MP // #ifdef MP || APP
if (typeof uni.onAppShow === 'function') { if (typeof uni.onAppShow === 'function') {
uni.onAppShow(() => { uni.onAppShow(() => {
GtPush.enableSocket(true); GtPush.enableSocket(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册