|
@@ -202,7 +202,7 @@
|
|
|
// channelId: "task1" //渠道id
|
|
|
// });
|
|
|
//注意:开启服务之后,配置后台运行,白名单,自启动,即可实现长时间保活,黑屏传数据
|
|
|
- this.goStartService();
|
|
|
+ // this.goStartService();
|
|
|
// !!!如果在设置后台运行的情况下,黑屏不发送数据,请使用setInterval代替 定时任务回调
|
|
|
var globalEvent = uni.requireNativePlugin('globalEvent');
|
|
|
globalEvent.addEventListener('doJobEvent', function() {
|