Comments (3)
原则上是没必要了,获取到的oaid的原始值应该是一样的。这个库主要是用来替代移动安全联盟的闭源方案。除了oaid,也提供了其他诸如数字版权管理标识之类的可用来识别设备的id的获取方式
from android_cn_oaid.
看旧版友盟的文档和引用的jar包,好像仅仅支持华为、VIVO、OPPO、小米、华硕等品牌,不像你这个库这么全的品牌
from android_cn_oaid.
看旧版友盟的文档和引用的jar包,好像仅仅支持华为、VIVO、OPPO、小米、华硕等品牌,不像你这个库这么全的品牌
最新版的com.umeng.umsdk:common:9.3.8
里是这些,目测是少了一些机型:
String var1 = Build.BRAND;
ah.a("Device", new Object[]{"Brand", var1});
if (TextUtils.isEmpty(var1)) {
return null;
} else if (!var1.equalsIgnoreCase("huawei") && !var1.equalsIgnoreCase("honor") && !var1.equalsIgnoreCase("华为")) {
if (!var1.equalsIgnoreCase("xiaomi") && !var1.equalsIgnoreCase("redmi") && !var1.equalsIgnoreCase("meitu") && !var1.equalsIgnoreCase("小米")) {
if (var1.equalsIgnoreCase("vivo")) {
return new af();
} else if (!var1.equalsIgnoreCase("oppo") && !var1.equalsIgnoreCase("oneplus")) {
if (!var1.equalsIgnoreCase("lenovo") && !var1.equalsIgnoreCase("zuk")) {
return Build.MANUFACTURER.equalsIgnoreCase("SAMSUNG") ? new ae() : null;
} else {
return new ac();
}
} else {
return new ad();
}
} else {
return new ag();
}
} else {
return new ab();
}
from android_cn_oaid.
Related Issues (20)
- 编译报错 HOT 3
- 华为设备崩溃 HOT 2
- 荣耀手机 HONOR Model: JSN-L22 Release: 9 API: 28 进入黑屏卡死 HOT 3
- 荣耀11.23日发布新机型,并用自己提供oaid的获取方法,不再允许其他方式获取 HOT 23
- 小米隐私合规问题 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 22
- 荣耀获取OAID的逻辑优化,或者开放一个修改方法 HOT 5
- 华为荣耀手机获取OAID首次为空,要手动调用才能获取 HOT 4
- (求大佬指导)荣耀设备崩溃:java.lang.NoClassDefFoundError: Failed resolution of: Lcom/hihonor/ads/identifier/AdvertisingIdClient; HOT 10
- Device.java中没有执行回调,导致DeviceIdentifier.register()监听不到onComplete()
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.