> 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

Easily upload images and other media to your Appetize iOS and Android devices, programmatically or via the App Page.

{% 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="https://2147444700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJUveBCJfn0GR8-hlqi%2Fuploads%2FJXCD2FYyD1v80KHkRLzq%2FScreenshot%202025-03-21%20114500.png?alt=media&amp;token=3cc2230d-34ab-455c-833f-65bf47be92a1" 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)
```
