uni-app plus.device.getInfo在本地运行是一个UUID,打包后是另一个UUID

uni-app plus.device.getInfo在本地运行是一个UUID,打包后是另一个UUID

开发环境 版本号 项目创建方式
Windows win7 HBuilderX

操作步骤:

  • 本地运行和打包后的UUID做对比

预期结果:

  • UUID应该一致

实际结果:

  • UUID不一致

bug描述:

  • plus.device.getInfo在本地运行是一个UUID,打包后是另一个UUID

更多关于uni-app plus.device.getInfo在本地运行是一个UUID,打包后是另一个UUID的实战教程也可以访问 https://www.itying.com/category-93-b0.html

2 回复

官网的大大们直接忽视这种问题吗?还是根本无解??解决不了的话就得考虑尝试其他框架了 还有就是每次打完包UUID都会变

更多关于uni-app plus.device.getInfo在本地运行是一个UUID,打包后是另一个UUID的实战教程也可以访问 https://www.itying.com/category-93-b0.html


目前android平台对隐私协议管理很严格。很多国内系统都无法获取相关信息导致uuid的唯一性降低。目前android10及以上可以使用oaid 链接地址https://www.html5plus.org/doc/zh_cn/device.html#plus.device.getOAID

回到顶部