yyh_developer
yyh_developer
  • 发布:2022-09-23 10:29
  • 更新:2022-09-26 19:09
  • 阅读:405

【报Bug】不是bug

分类:HTML5+

产品分类: HTML5+

HBuilderX版本号: 3.6.4

手机系统: Android

手机系统版本号: Android 12

手机厂商: 华为

手机机型: nova5i

打包方式: 云端

App下载地址或H5⽹址: 链接:

操作步骤:

云端打包后
调用: plus.push.getClientInfoAsync()
报错: {code:-1,message:'no push platform'}
调研: plus.push.getClientInfo();
返回: {appid: "null", appkey: "null",clientid:"null", id: "null", token: "null"};

预期结果:

获取到clientid,传给后台服务绑定

实际结果:

调用: plus.push.getClientInfoAsync(), 报错:获取个推标识失败报错{code:-1,message:'no push platform'};
调用:plus.push.getClientInfo(), 返回: {appid: "null", appkey: "null",clientid:"null", id: "null", token: "null"};

bug描述:

云端打包后调用plus.push.getClientInfoAsync(),报错:{code:-1,message:'no push platform'}

2022-09-23 10:29 负责人:DCloud_Android_THB 分享
已邀请:
DCloud_Android_THB

DCloud_Android_THB

你是5+项目吧? 检查一下manifest.json源码视图,是否配置为

"plugins" : {  
                "push" : {  
                    "unipush" : {}  
                }  
            }  

该问题目前已经被锁定, 无法添加新回复