开发者社区 问答 正文

应用研发平台EMAS这个方法获取不到iOS的设备ID,还有别的方法吗?

应用研发平台EMAS这个方法获取不到iOS的设备ID,还有别的方法吗?const aliyunPush = uni.requireNativePlugin('Aliyun-Push');
const result = aliyunPush.getDeviceId();
this.handleResult("getDeviceId", result, function(){
console.log("getDeviceId : " + result.data.deviceId);
modal.toast({
message: "getDeviceId : " + result.data.deviceId,
duration: 2
});
});

展开
收起
真的很搞笑 2023-12-27 08:10:08 93 分享 版权
1 条回答
写回答
取消 提交回答
  • 不应该呀,其他客户可以正常获取到呀,注册推送成功了吗?要注册推送成功后才能获取 ,此回答整理自钉群“应用研发平台EMAS开发者交流群”

    2023-12-27 09:31:26
    赞同 展开评论