# How can an app request permission to use the fullscreen API

**URL:** <https://community.dynatrace.com/t/how-can-an-app-request-permission-to-use-the-fullscreen-api/37479>\
**Category:** Developer Q&A Forum\
**Tags:** data-privacy-and-product-security, custom-app\
**Created:** [November 28, 2022, 2:48pm UTC](https://community.dynatrace.com/t/how-can-an-app-request-permission-to-use-the-fullscreen-api/37479 "2022-11-28T14:48:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreasTaranetz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/andreastaranetz/32/34213_2.png) [@AndreasTaranetz](https://community.dynatrace.com/u/AndreasTaranetz)\
**Post date:** [November 28, 2022, 2:48pm UTC](https://community.dynatrace.com/t/how-can-an-app-request-permission-to-use-the-fullscreen-api/37479/1 "2022-11-28T14:48:12Z")

</div>

The **app.config.ts** file currently allows a developer to state CSP rules that should be applied when running the app.  
Is there a similar mechanism for certain Web APIs, like the [Fullscreen API](https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API)?

Use cases could be the expanded view of an image gallery, a video player or XR experience.

---

<div class="post-metadata">

**Author:** ![imsingh](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/imsingh/32/7858_2.png) [@imsingh](https://community.dynatrace.com/u/imsingh)\
**Post date:** [November 28, 2022, 5:03pm UTC](https://community.dynatrace.com/t/how-can-an-app-request-permission-to-use-the-fullscreen-api/37479/2 "2022-11-28T17:03:26Z")

</div>

For security reasons, an app is not allowed to go full screen. This is to ensure that a user is always aware of what UI is part of the dock and what’s part of the app.
