🎤 Audio recording
Available starting from version 14.1.0.
Gleap allows users to record audio messages when chatting with support through our ReactNative 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:
<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:
<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" />
<uses-feature android:name="android.hardware.microphone"/>
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.