Unity

Our CMP is available for Unity as a Unity Package containing plugins for Android, iOS and tvOS. The package is available from the following git repository:

AppConsent Unity packagearrow-up-right

Minimum supported version of unity is 2021.3.46f1 LTS.

https://unity.com/fr/releases/editor/archivearrow-up-right


Simple execution

This example is taken directly from the sample code below.

Runner Sample

Here's the Unity sample runner project into which we've integrated our solution. Samplearrow-up-right

Developer Sample

Here's a sample Unity project in which we've integrated our solution, enabling you to interact directly with it from the main screen. Samplearrow-up-right

Add the SFBX AppConsent package to your Unity project

From the window menu, open the Package Manager

Inside the Package Manager window, click on the + button + in the top-left corner. From the drop-down menu select Add package from git URL.

In the popup text field, enter the url to the package's git repository https://gitlab.datalf.chat/customers/appconsent-unity.gitarrow-up-right and click on Add.

The SFBX AppConsent package has been added to your project.


Recommendation Android

The plugin allows you to define a success or error callback before CMP initialization, enabling you to log and/or use the CMP when it is fully initialized (asynchronous).

Here's an example of how CMP works on Android

API Documentation

Detailed API documentation is available herearrow-up-right.

FAQ

All our FAQs can be found in our git READMEarrow-up-right

Last updated