GithubHelp home page GithubHelp logo

isabella232 / appsflyer-oaid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from appsflyersdk/appsflyer-oaid

0.0 0.0 0.0 2.95 MB

AppsFlyer OAID collection

Home Page: https://support.appsflyer.com/hc/en-us/articles/360006278797-Implementing-OAID-in-the-Android-SDK

License: MIT License

Java 85.85% Kotlin 14.15%

appsflyer-oaid's Introduction

OAID collection

Release Artifacts

Table of content

Supported devices:

Manufacturer OS version
Huawei HMS 2.6.2
Xiaomi MIUI 10.2
Vivo Android 9
OPPO Color OS 7.0
Lenovo ZUI 11.4
Samsung, Meizu, Nubia, ZTE, ASUS, OnePlus, Black shark, Motorola, Freeme OS Android 10

Adding to your project

module build.gradle

Download AAR provided by the MSA to your module libs folder

implementation 'com.appsflyer:oaid:6.1.2'
implementation files('libs/oaid_sdk_1.0.23.aar')

Standalone usage

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        Thread {
            val info = OaidClient(this, 1, TimeUnit.SECONDS).fetch()
            if (info != null) {
                println(info.id)
                val lat = info.lat
                if (lat != null) println(lat)
            }
        }.start()
    }
}

Important

Time to fetch oaid is around 10 - 1000 ms


๐Ÿ›  In order for us to provide optimal support, we would kindly ask you to submit any issues to [email protected]

When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , production steps, logs, code snippets and any additional relevant information.

appsflyer-oaid's People

Contributors

af-fess avatar afdima avatar

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.