For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 package

Minimum supported version of unity is 2021.3.46f1 LTS.

https://unity.com/fr/releases/editor/archive


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. Sample

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. Sample

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.git 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 here.

FAQ

All our FAQs can be found in our git README

Last updated