为什么极光推送只要调用初始化代码,在华为荣耀手机上就回ANR

用户1316285
19天前 16 1

null
null
null

android Application 内调用以下代码,大概30秒后,app直接无响应了,是在IO线程调用的,手机是荣耀Magic5

JPushInterface.init(context, config)
                JPushInterface.setNotificationCallBackEnable(context, true)
                JPushInterface.setDebugMode(true)
                JPushInterface.setThirdPushEnable(context, true)
                JCollectionAuth.enableAutoWakeup(context, true)
                JCoreInterface.setWakeEnable(context, true)
                JCollectionAuth.enableAppTerminate(context, true)

1个回答

热门排序
  • null
    红框中是否可以配置,有的话去掉重试

gptbots-widget