更新记录

1.0.2(2025-06-07)

1、优化了文案

1.0.1(2025-06-07)

优化内部代码

1.0.0(2025-06-07)

1、发布OAID获取

查看更多

平台兼容性

uni-app

Vue2 Vue3 Chrome Safari app-vue app-nvue Android iOS 鸿蒙
- - - - 4.4 × -
微信小程序 支付宝小程序 抖音小程序 百度小程序 快手小程序 京东小程序 鸿蒙元服务 QQ小程序 飞书小程序 快应用-华为 快应用-联盟
- - - - - - - - - - -

uni-app x

Chrome Safari Android iOS 鸿蒙 微信小程序
- - 5.0 × - -

说明:

在当今的移动应用开发中,广告标识符(OAID)对于精准营销、用户分析等至关重要。然而,如何高效且合规地获取这些标识符却是一个挑战。我们的多量OAID获取插件正是为此而生,它几乎可以覆盖所有主流厂商手机的OAID获取需求,并且无需任何特殊权限。

1.0 主要特点:

  • 高获取率 无论华为、荣耀、小米、VIVO、OPPO 还是其他品牌,我们都能轻松获取其 OAID。

  • 广泛兼容性 支持 Android 10.0 到 Android 15.0 版本,确保您的应用在各种设备上稳定运行。

  • 简易集成 仅需几行代码即可完成集成,大大节省开发时间。

  • 隐私保护 无需申请额外权限,充分保障用户隐私,符合各大平台审核要求。

  • 快速部署 通过简单的配置步骤,您可以在几分钟内将插件集成到您的项目中。

  • 专业支持多米科技 提供专业的技术支持和服务,确保您的问题得到及时解决。

  • 免费试用 所有收费插件均支持免费试用,您可以先体验再决定是否购买。

1.1、支持情况

厂商或品牌 系统或框架
华为(Huawei) HMS Core 2.6.2+、Google Play Service 4.0+
荣耀(Honor) Magic UI 4/5/6、MagicOS 7.0+、Google Play Service 4.0+
小米(XiaoMi、Redmi、BlackShark) MIUI 10.2+、Google Play Service 4.0+
维沃(VIVO、IQOO) Funtouch OS 9+、OriginOS 1.0+、Google Play Service 4.0+
欧珀(OPPO、Realme) ColorOS 7.0+、Google Play Service 4.0+
三星(Samsung) Android 10+、Google Play Service 4.0+
联想(Lenovo) ZUI 11.4+、Google Play Service 4.0+
华硕(ASUS) Android 10+、Google Play Service 4.0+
魅族(Meizu) Android 10+、Google Play Service 4.0+
一加(OnePlus) Android 10+、Google Play Service 4.0+
努比亚(Nubia) Android 10+、Google Play Service 4.0+
酷派(Coolpad) CoolOS、Google Play Service 4.0+
酷赛(Coosea) Android 10+、Google Play Service 4.0+
卓易(Droi) Freeme OS、Google Play Service 4.0+
其他(ZTE、HTC、Motorola等) SSUI、Google Play Service 4.0+

2、官网下载插件

2.1 获取OAID

  getDmOAID((oaid)=> {

     console.info("oaid 获取成功 =" + oaid)

  }, (err)=> {

     console.info("oaid 获取失败 =" + err)
  })

2.2 完整示例代码,如下图

<template>
  <!-- #ifdef APP -->
  <scroll-view class="content">
  <!-- #endif -->
    <image class="logo" src="/static/logo.png"></image>
    <view class="text-area">
      <text class="title">{{title}}</text>
    </view>
    <view class="buttons">
      <button class="button" @tap="getOAIDTest" type="primary">获取OAID</button>
    </view>
  <!-- #ifdef APP -->
  </scroll-view>
  <!-- #endif -->
</template>

<script>
   import { getDmOAID} from '@/uni_modules/duomi-oaid';

  export default {
    data() {
      return {
        title: 'Hello',
      }
    },
    mounted() {

    },
    methods: {
      getOAIDTest() {
           getDmOAID((oaid)=> {

              console.info("oaid 获取成功 =" + oaid)

             }, (err)=> {

               console.info("oaid 获取失败 =" + err)
          })
      }
    }
  }
</script>

<style>
  .content {
    display: flex;
    flex: 1;
    align-items: center;
  }

  .logo {
    height: 200rpx;
    width: 200rpx;
    margin-top: 200rpx;
    margin-bottom: 50rpx;
  }

  .title {
    font-size: 36rpx;
    color: #8f8f94;
  }

  .buttons {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .button {
    width: 640rpx;
    margin: 10px;
  }
</style>

隐私、权限声明

1. 本插件需要申请的系统权限列表:

2. 本插件采集的数据、发送的服务器地址、以及数据用途说明:

3. 本插件是否包含广告,如包含需详细说明广告表达方式、展示频率:

暂无用户评论。

使用中有什么不明白的地方,就向插件作者提问吧~ 我要提问