> For the complete documentation index, see [llms.txt](https://docs.appetize.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appetize.io/features/media.md).

# Media

{% hint style="info" %}
The maximum file size for uploading media is **50 MB**.
{% endhint %}

## Supported Files

| Platform | Supported File Types     |
| -------- | ------------------------ |
| Android  | All file types           |
| iOS      | PNG, JPEG, JPG, GIF, MP4 |

{% hint style="warning" %}
Files outside of these formats will not be processed on iOS simulators.
{% endhint %}

## With App Page

The [App Page](/platform/app-management/running-apps.md#accessing-your-app-page) provides an **Upload File** button on the device toolbar during active sessions, allowing you to upload media files directly to the device’s photo library.

<figure><img src="/files/UfnLEdUMxAV3mFPQpUkT" alt=""><figcaption><p>"Upload File" button during active sessions</p></figcaption></figure>

## With JavaScript SDK

Appetize’s [JavaScript SDK](/javascript-sdk.md) offers a convenient [addMedia](/javascript-sdk/api-reference.md#addmedia-file) function for adding media files directly to your active simulator sessions. This function is ideal for automating media uploads as part of your testing or development workflows.

```typescript
await session.addMedia(file)
```
