record_android 1.3.3
record_android: ^1.3.3 copied to clipboard
Android specific implementation for record package called by record_platform_interface.
record Android #
Android specific implementation for record package called by record_platform_interface.
Setup #
Plugin targets API level 34: #
You can either choose to stay with v7 version or upgrade to v8.
Here's the setup for v7 latest version:
In android/settings.gradle, apply:
plugins {
id "com.android.application" version "7.4.2" apply false
...
}
Also you are advised to upgrade Java version to 11.
Permissions: #
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<!-- Optional: Add this permission if you want to use bluetooth telephony device like headset/earbuds -->
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<!-- Optional: Add this permission if you want to save your recordings in public folders -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Effects (auto gain, echo cancel and noise suppressor) may be unvailable for a specific device.
Please, stop opening issues if it doesn't work for one device but for the others.
There is no gain settings to play with, so you cannot control the volume of the audio being recorded.
The low volume of the audio is related to the hardware and varies from device to device.
Applying effects will lower the output volume. Choosing source other than default or mic will likely lower the output volume also.