iOS

Overview

Once you have added the Sounds dependency to you pubspec.yaml you need to modify your iOS info.plist file.
You need to set an appropriate message for the NSMicrophoneUsageDescription field.
1
<key>NSMicrophoneUsageDescription</key>
2
<string>My app uses the microphone to record your speech and convert it to text.</string>
3
<key>UIBackgroundModes</key>
4
<array>
5
<string>audio</string>
6
</array>
Copied!
Last modified 1yr ago
Copy link