Giter Site home page Giter Site logo

Comments (22)

sonuan avatar sonuan commented on May 27, 2024 3

如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?

使用荣耀的吧

这个策略可能会导致推广渠道归因失败,进而导致投放转换率出问题。
主要是信息流广告商透传的OAID可能还是取的华为的。

from android_cn_oaid.

ITJoker avatar ITJoker commented on May 27, 2024 2

@junges521 @JiangAndroidwork 已添加荣耀自己的实现方式,待验证,临时版本:implementation 'com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6

辛苦作者~

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on May 27, 2024 1

@junges521 @JiangAndroidwork 已添加荣耀自己的实现方式,待验证,临时版本:implementation 'com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on May 27, 2024 1

如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?

使用荣耀的吧

from android_cn_oaid.

sonuan avatar sonuan commented on May 27, 2024 1

我们的方案修改成优先取华为oaid,没有再取荣耀oaid。保持和联盟SDK的逻辑一致。

如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?

使用荣耀的吧

荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid

这个问题导致荣耀推广归因失败

from android_cn_oaid.

junges521 avatar junges521 commented on May 27, 2024

确实是,怎么处理呢

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on May 27, 2024

确实是,怎么处理呢

看来需针对荣耀机型,使用他们自家的sdk实现

from android_cn_oaid.

junges521 avatar junges521 commented on May 27, 2024

谢谢

from android_cn_oaid.

junges521 avatar junges521 commented on May 27, 2024

这个临时版本如何使用

from android_cn_oaid.

junges521 avatar junges521 commented on May 27, 2024

临时版本,maven引进失败,Failed to resolve: com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on May 27, 2024

这个临时版本如何使用

我暂时找不到符合条件的荣耀手机(Magic UI 4.0,5.0,6.0及MagicOS 7.0或以上)来验证,等下直接发个新版本,你们自己去验证了

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on May 27, 2024

临时版本,maven引进失败,Failed to resolve: com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6

https://jitpack.io/#gzu-liyujiang/Android_CN_OAID/4.2.8

from android_cn_oaid.

junges521 avatar junges521 commented on May 27, 2024

会存在两者都存在的情况,怎么办?

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on May 27, 2024

会存在两者都存在的情况,怎么办?

是优先使用荣耀,荣耀不可用才用华为的,相关代码如下:

// OAIDFactory.java
        if (OAIDRom.isHonor()) {
            HonorImpl honorImpl = new HonorImpl(context);
            if (honorImpl.supported()) {
                // 支持的话(Magic UI 4.0,5.0,6.0及MagicOS 7.0或以上)直接使用荣耀的实现,否则尝试华为的实现
                return honorImpl;
            }
        }
        if (OAIDRom.isHuawei() || OAIDRom.isEmui()) {
            return new HuaweiImpl(context);
        }

from android_cn_oaid.

JiangAndroidwork avatar JiangAndroidwork commented on May 27, 2024

@junges521 @JiangAndroidwork 已添加荣耀自己的实现方式,待验证,临时版本:implementation 'com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6

辛苦辛苦~

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on May 27, 2024

这个临时版本如何使用

我暂时找不到符合条件的荣耀手机(Magic UI 4.0,5.0,6.0及MagicOS 7.0或以上)来验证,等下直接发个新版本,你们自己去验证了

已用荣耀云真机验证,支持Magic UI 4.0,5.0,6.0及MagicOS 7.0或以上

from android_cn_oaid.

junges521 avatar junges521 commented on May 27, 2024

如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?

from android_cn_oaid.

w525721508 avatar w525721508 commented on May 27, 2024

荣耀可以不集成他们的SDK,可以通过com.hihonor.id.HnOaIdService这个服务结合aidl的方式获取到oaid

from android_cn_oaid.

ltttttttttttt avatar ltttttttttttt commented on May 27, 2024

4.2.8提示 Could not find com.hihonor.mcs:ads-identifier:1.0.2.301.
不知道是不是我镜像配置有问题?你们的可以吗

from android_cn_oaid.

wh19990906 avatar wh19990906 commented on May 27, 2024

如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?

使用荣耀的吧

荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid

这个问题导致荣耀推广归因失败

from android_cn_oaid.

wh19990906 avatar wh19990906 commented on May 27, 2024

我们的方案修改成优先取华为oaid,没有再取荣耀oaid。保持和联盟SDK的逻辑一致。

如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?

使用荣耀的吧

荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid
这个问题导致荣耀推广归因失败

差不多,我按照荣耀提供的方法修改了,判断是荣耀新机还是老机
新机获取荣耀oaid,老机获取华为oaid

from android_cn_oaid.

jin123d avatar jin123d commented on May 27, 2024

我们的方案修改成优先取华为oaid,没有再取荣耀oaid。保持和联盟SDK的逻辑一致。

如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?

使用荣耀的吧

荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid
这个问题导致荣耀推广归因失败

差不多,我按照荣耀提供的方法修改了,判断是荣耀新机还是老机 新机获取荣耀oaid,老机获取华为oaid

有相关文档吗?如何判断是 老机型还是新机型啊?

from android_cn_oaid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.