Giter Site home page Giter Site logo

guojunliu / xyuuid Goto Github PK

View Code? Open in Web Editor NEW
458.0 15.0 25.0 270 KB

iOS14 UUID KeyChain DeviceInfo IDFA UDID AppTrackingTransparency ATT

License: MIT License

Objective-C 96.18% Ruby 3.82%
uuid keychain deviceinfo idfa ios14 14 ios udid ios-swift apptrackingtransparency att swift

xyuuid's Introduction

XYUUID

Alt text

MIT License Version GitHub Release Cocopods Github All Releases Github Platform

English | 简体中文

Installation

CocoaPods:
  • pod'XYUUID'
Manual integration:
  • Copy the XYUUID folder to your project

Background

  • Starting from iOS 10, IDFA may be restricted by users from ad tracking, resulting in the inability to obtain IDFA normally, thus making it impossible to use IDFA as a unique device identifier

Advantages of XYUUID

  • Simple API
  • Use the latest iOS 14 API to get IDFA
  • Universally unique identifiers with different persistence levels

Advantages of uuidForDevice

  • onger timeliness
  • Long storage
  • Lower conflict rate
  • Lower drift rate

API

Get UUIDs of different persistence levels

/// Random UUID, this value will be refreshed every time
+ (NSString *)uuid;

/// Install UUID, this value will be refreshed every time you reinstall
+ (NSString *)uuidForInstall;

/// Open the application UUID, this value will be refreshed every time the application is opened
+ (NSString *)uuidForAppOpen;

/// IDFA, open and close authorization, this value will be refreshed
+ (NSString *)uuidForIDFA;

/// IDFV
+ (NSString *)uuidForIDFV;

/// Device information UUID, generated according to device information, can remain unchanged for a period of time
+ (NSString *)uuidForDeviceInfo;

/// Keychain UUID, uninstall application remains unchanged
+ (NSString *)uuidForKeychain;

/// Device UUID, the unique identifier of the device
+ (NSString *)uuidForDevice;

Persistence level

UUID App relaunch Reset Advertising Identifier App reinstall System reboot System upgrade System reset
uuid
uuidForInstall
uuidForAppOpen
uuidForIDFA
uuidForIDFV
uuidForDeviceInfo
uuidForKeychain
uuidForDevice

Stargazers over time

Stargazers over time

xyuuid's People

Contributors

guojunliu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xyuuid's Issues

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.