> For the complete documentation index, see [llms.txt](https://community.commandersact.com/trustcommander/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community.commandersact.com/trustcommander/fr/setup-guides/mobile-apps/android.md).

# Android

Il est essentiel d'avoir le consentement utilisateur pour pouvoir traiter des informations sensibles comme l'IDFA et l'AAID. TrustCommander propose un module permettant de le gérer automatiquement le consentement des utilisateurs, pour éviter d'avoir à gérer manuellement l'affichage des bandeaux et la sauvegarde du consentement dans vos SDKs.

Le module TrustCommander pour Android:

* Affiche la page de consentement (si besoin).
* Sauvegarde le consentement et le recharge chaque fois que l'application est lancée.
* Sauvegarde et vérifie la validité du consentement. La durée de validité est de 13 mois.
* Envoie un hit aux serveurs Commanders Act pour sauvegarder le consentement.
* Activer ou désactiver le SDK (si utilisé avec le SDK TrustCommander).
* Ajoute automatiquement les catégories aux hits envoyés par le SDK (si utilisé avec le SDK TrustCommander).

{% hint style="success" %}
Guide d'implémentation de TrustCommander sur mobile :&#x20;

<https://github.com/TagCommander/pods/tree/master/TCPrivacy>
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://community.commandersact.com/trustcommander/fr/setup-guides/mobile-apps/android.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
