Code Monkey home page Code Monkey logo

Comments (3)

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

原则上是没必要了,获取到的oaid的原始值应该是一样的。这个库主要是用来替代移动安全联盟的闭源方案。除了oaid,也提供了其他诸如数字版权管理标识之类的可用来识别设备的id的获取方式

from android_cn_oaid.

l12ab avatar l12ab commented on August 27, 2024

看旧版友盟的文档和引用的jar包,好像仅仅支持华为、VIVO、OPPO、小米、华硕等品牌,不像你这个库这么全的品牌

from android_cn_oaid.

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

看旧版友盟的文档和引用的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)

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.