Comments (22)
如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?
使用荣耀的吧
这个策略可能会导致推广渠道归因失败,进而导致投放转换率出问题。
主要是信息流广告商透传的OAID可能还是取的华为的。
from android_cn_oaid.
@junges521 @JiangAndroidwork 已添加荣耀自己的实现方式,待验证,临时版本:
implementation 'com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6
辛苦作者~
from android_cn_oaid.
@junges521 @JiangAndroidwork 已添加荣耀自己的实现方式,待验证,临时版本:implementation 'com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6
from android_cn_oaid.
如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?
使用荣耀的吧
from android_cn_oaid.
我们的方案修改成优先取华为oaid,没有再取荣耀oaid。保持和联盟SDK的逻辑一致。
如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?
使用荣耀的吧
荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid
这个问题导致荣耀推广归因失败
from android_cn_oaid.
确实是,怎么处理呢
from android_cn_oaid.
确实是,怎么处理呢
看来需针对荣耀机型,使用他们自家的sdk实现
from android_cn_oaid.
谢谢
from android_cn_oaid.
这个临时版本如何使用
from android_cn_oaid.
临时版本,maven引进失败,Failed to resolve: com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6
from android_cn_oaid.
这个临时版本如何使用
我暂时找不到符合条件的荣耀手机(Magic UI 4.0,5.0,6.0及MagicOS 7.0或以上)来验证,等下直接发个新版本,你们自己去验证了
from android_cn_oaid.
临时版本,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.
会存在两者都存在的情况,怎么办?
from android_cn_oaid.
会存在两者都存在的情况,怎么办?
是优先使用荣耀,荣耀不可用才用华为的,相关代码如下:
// 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.
@junges521 @JiangAndroidwork 已添加荣耀自己的实现方式,待验证,临时版本:
implementation 'com.github.gzu-liyujiang:Android_CN_OAID:881892f7b6
辛苦辛苦~
from android_cn_oaid.
这个临时版本如何使用
我暂时找不到符合条件的荣耀手机(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.
如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?
from android_cn_oaid.
荣耀可以不集成他们的SDK,可以通过com.hihonor.id.HnOaIdService这个服务结合aidl的方式获取到oaid
from android_cn_oaid.
4.2.8提示 Could not find com.hihonor.mcs:ads-identifier:1.0.2.301.
不知道是不是我镜像配置有问题?你们的可以吗
from android_cn_oaid.
如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?
使用荣耀的吧
荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid
这个问题导致荣耀推广归因失败
from android_cn_oaid.
我们的方案修改成优先取华为oaid,没有再取荣耀oaid。保持和联盟SDK的逻辑一致。
如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?
使用荣耀的吧
荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid
这个问题导致荣耀推广归因失败
差不多,我按照荣耀提供的方法修改了,判断是荣耀新机还是老机
新机获取荣耀oaid,老机获取华为oaid
from android_cn_oaid.
我们的方案修改成优先取华为oaid,没有再取荣耀oaid。保持和联盟SDK的逻辑一致。
如果在荣耀的手机上,华为和荣耀的方式都能获取到oaid,而且oaid还不一样,建议该使用华为的还是荣耀?
使用荣耀的吧
荣耀推广渠道归因,老机型同时存在华为和荣耀oaid,广告商那边优先获取的是华为的oaid
这个问题导致荣耀推广归因失败差不多,我按照荣耀提供的方法修改了,判断是荣耀新机还是老机 新机获取荣耀oaid,老机获取华为oaid
有相关文档吗?如何判断是 老机型还是新机型啊?
from android_cn_oaid.
Related Issues (20)
- 华为获取报错 Lcom/huawei/hms/ads/identifier/AdvertisingIdClient HOT 6
- 编译报错 HOT 3
- 华为设备崩溃 HOT 2
- 荣耀手机 HONOR Model: JSN-L22 Release: 9 API: 28 进入黑屏卡死 HOT 3
- 小米隐私合规问题 HOT 2
- 华为P40 Pro海外版,崩溃 HOT 2
- Event:APP_SCOUT_WARNING Thread:main backtrace: HOT 3
- 找不到 荣耀的包 HOT 1
- 4.2.8版本远程依赖不了 HOT 4
- 这个只能在原生安卓使用是吧,unaipp能用吗 HOT 3
- 部分手机测试 获取 OAID 为 空 HOT 2
- 荣耀手机崩溃 HOT 4
- 荣耀手机遇到一个很奇怪的问题,同型号同系统版本有的能获取成功有的就不行
- 升级sdk版本后oaid的值变了 HOT 6
- 急!线上大面积华为,荣耀用户突遇崩溃!!! No imolementation found for boolean com,huawei.hms.ads,identifier,AdvertisingIdclient,isAdvertisingIdAvailable(android,content.Context) HOT 11
- 华为鸿蒙4.0手机不能使用DeviceIdentifier.getOAID(this);方法 HOT 20
- 荣耀获取OAID的逻辑优化,或者开放一个修改方法 HOT 5
- 华为荣耀手机获取OAID首次为空,要手动调用才能获取 HOT 4
- (求大佬指导)荣耀设备崩溃:java.lang.NoClassDefFoundError: Failed resolution of: Lcom/hihonor/ads/identifier/AdvertisingIdClient; HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android_cn_oaid.