1 year ago
#302561
KDOSHI
Flutter Record Plugin , iOS - Resume record issue after lock iPhone device or simulator
In Flutter I am using https://pub.dev/packages/record package to record audio.
AVAudioRecorder for iOS
I have used SystemChannels.lifecycle.setMessageHandler method to get Phone OS App Lifecycle state
When iPhone lock onPause called and I have user pause method to pause audio recording but when I unlock screen and call resume method it will only give recording before Lock Screen happened.
Example :
- Record 4 sec audio and than lock device
- Unlock device resume recording upto 10 sec
- Stop Recording on 10 sec
- It only gives 4 sec audio recorded file as source.
Same case working in Android.
ios
flutter
audio-recording
avaudiorecorder
0 Answers
Your Answer