cxygpt

Results 6 comments of cxygpt

getRegisterId这个方法 > 提供一下,错误堆栈 getRegisterId这个方法放在子线程中就OK了

这样实现就没问题了 new Thread(() -> { // read from agconnect-services.json String appId = new AGConnectOptionsBuilder().build(context).getString("client/app_id"); try { regId = HmsInstanceId.getInstance(context).getToken(appId, "HCM"); } catch (ApiException e) { handler.getLogger().log(UnifiedHmsMessageService.TAG, "hms get token failed...

> 我也是这个样改了,荣耀只提供了 aar,Permission name PROCESS_PUSH_MSG is not unique 荣耀只能单独集成