Git Product home page Git Product logo

com.unity.ads.ios-support's Introduction

Using this package

This package supports Apple's SKAdNetwork and AppTrackingTransparency frameworks for your made-with-Unity iOS application, by aggregating proper ad network IDs and providing access to relevant Apple developer APIs.

For more information about iOS 14 technical integration, including this package's support functionality, please see the full iOS 14 technical documentation.

Installing the package

From this repository

  1. Download this repo to your hard drive.
  2. In the Unity Editor, open the Unity Package Manager window.
  3. Click the + button and select Add package from disk....
  4. Navigate to the location where you downloaded the repo and select the iOS14 Support package (..\com.unity.ads.ios-support-master\com.unity.ads.ios-support\package.json) to install the package. If successful, the iOS14 Support package will appear in the package manager list (note that you must have All packages selected to view it).

From Unity Package Manager

  1. In the Unity Editor, select Window > Package Manager to open the Package Manager.
  2. Select the iOS 14 Advertising Support package from the list, then select the most recent verified version.
  3. Click the Install or Update button.

Apple developer API extensions

This package provides access to the following Apple developer APIs:

public static void SkAdNetworkUpdateConversionValue(int conversionValue)

This method allows you to update the attribution conversion value.

SkAdNetworkRegisterAppForNetworkAttribution()

This method allows you to register for attribution.

public static void RequestAuthorizationTracking()

This method allows you to request the user permission dialogue.

public static AuthorizationTrackingStatus GetAuthorizationTrackingStatus()

This method allows you to check the app tracking transparency (ATT) authorization status.

Sample Project

The SampleProject~ folder included here is a complete Unity project, compatible with Unity 2018.4.33f1 and up. This project contains an example of a context screen you could use to give context to users before showing the native App Tracking Transparency dialog.

com.unity.ads.ios-support's People

Contributors

declanmcpartlin avatar unitysteven avatar repodb[bot] avatar vita-unity 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.