设备序列号仅限系统应用使用,可作为设备唯一识别码。需要权限:ohos.permission.sec.ACCESS\_UDID。普通应用目前不支持获取udid,参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-device-info-V5\#属性
设备序列号仅限系统应用使用,可作为设备唯一识别码。需要权限:ohos.permission.sec.ACCESS\_UDID。
普通应用目前不支持获取udid,参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-device-info-V5\#属性