> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/nl/features/cookies/integration/mobile/hybrid.md). Agents can also search and read this documentation through its [MCP server](https://doc.dastra.eu/~gitbook/mcp).

# Hybride toepassingen

Integreer de Dastra-cookiebanner in een hybride applicatie.

Een hybride applicatie toont webpagina's in een WebView. De SDK werkt dan op dezelfde manier als op een website.

1. Voeg de bannercode, gekopieerd uit de sectie **Installatie**, in op de pagina's die de WebView laadt. Zie [Snel aan de slag](https://doc.dastra.eu/nl/features/cookies/integration/quickstart.md).
2. Voeg het adres van deze pagina's toe bij **Geautoriseerde URL's (CORS)**, in de sectie **Configuratie** van de banner. Zonder dit adres verschijnt de banner niet.
3. Geef de gepseudonimiseerde identifier van een gebruiker door om een bewijs van toestemming aan een gebruiker van de applicatie te koppelen. Zie [Gebruikersidentificatie](https://doc.dastra.eu/nl/features/cookies/integration/identification.md).
4. Gebruik de JavaScript-API van de SDK om de toestemming vanuit uw code te lezen of te wijzigen. Zie [Toestemming programmatisch beheren](https://doc.dastra.eu/nl/features/cookies/integration/programmatic-consent.md).
5. Voeg in de applicatie een manier toe om de banner opnieuw te openen, met `dastra.openCookieConsent()`.

U moet de trackers van de applicatie nog steeds handmatig configureren. Zie [Cookies blokkeren](https://doc.dastra.eu/nl/features/cookies/integration/blocking.md).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.dastra.eu/nl/features/cookies/integration/mobile/hybrid.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
