---
title: "Ionic Capacitor SDK: Audio recording"
description: "Configure audio messages in customer conversations with the Gleap Ionic Capacitor SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/571-ionic-capacitor-sdk-audio-recording
collection: "Ionic / Capacitor"
updated: 2026-11-01
language: en
---

# Ionic Capacitor SDK: Audio recording

Configure audio messages in customer conversations with the Gleap Ionic Capacitor SDK. Follow the integration code examples.

Available starting from version 14.2.0.

Gleap allows users to record audio messages when chatting with support through our Ionic /Capacitor SDK. This is a great way to collect feedback from users.

## iOS setup

In order for audio recording to work for iOS, you need to add the following key to your `Info.plist` file:

```xml
<key>NSMicrophoneUsageDescription</key>
<string>We need access to the microphone to record audio messages.</string>
```

This key is required by iOS to allow the app to use the microphone.

## Android setup

In order for audio recording to work for Android, you need to add the following keys to your `AndroidManifest.xml` file:

```xml
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-feature android:name="android.hardware.audio.pro" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
```

This key is required by Android to allow the app to use the microphone.

## Enable the audio recording feature

To enable the audio recording feature, navigate to `AI chatbot` -> `Settings` and toggle the `Allow audio messages` switch.

## Related

- [Ionic Capacitor SDK setup](https://docs.gleap.ai/en/articles/563-ionic-capacitor-sdk-setup.md)
- [Ionic Capacitor SDK: User identity](https://docs.gleap.ai/en/articles/564-ionic-capacitor-sdk-user-identity.md)
- [Ionic Capacitor SDK: Frontend tools](https://docs.gleap.ai/en/articles/565-ionic-capacitor-sdk-frontend-tools.md)
- [Ionic Capacitor SDK: Track events](https://docs.gleap.ai/en/articles/566-ionic-capacitor-sdk-track-events.md)
- [Ionic Capacitor SDK: Track pages](https://docs.gleap.ai/en/articles/567-ionic-capacitor-sdk-track-pages.md)
