Closed MaheshPeri19 closed 2 years ago
I got the exact issue. We are using .wav audio format which is not supported by some devices like iPhone 8+, iPhone XR etc. After changing to audio format as .aac, crash issue solved. Below is the line of code.
FlutterAudioRecorder2 _recorder = FlutterAudioRecorder2(customPath,audioFormat: AudioFormat.AAC); //.wav is not supporting in iphone 8 plus and iphone X
In iPhone 6s, iPhone 8 plus and iPhone XR with iOS 14.8.1 and 15.3.1, app is crashing when click on audio button. At this time it is asking permission. I followed same as documentation and working well in remaining iOS and Android devices. Crashing in specifi devices. Here is the crash log.
I am using flutter_audio_recorder2: ^0.0.2 and stable version of flutter (2.10.3).
I was asking NSMicrophoneUsageDescription permission also and added in info.plist file.
Please suggest me on this.