exitMiniApp 获取设备唯一标识

exitMiniApp^6.8

获取设备唯一标识

#接口调用示例

this.$bridge
  .getDeviceUUID()
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#返回参数

Prop Type Required Default Comment
deviceUUID String N N/A 手机设备标识串

#接口返回示例

// 安卓返回
'05c95xxxxxxxxxxxxxxxx'

// ios 返回
{
  deviceUUID: '1BF1xxxxxxxxx'
}
posted on 2024-12-21 14:44  AtlasLapetos  阅读(7)  评论(0)    收藏  举报