mic_stream
mic_stream copied to clipboard
iOS issue
Hello,
I have check the basic functionality on Android simulator and the audio streams works fine.
Instead in iOS 15.0 simulator I have problem that the stream does not start. It gets stuck at the output "flutter: wait for stream". So it looks like the native iOS is not starting the microphone audio stream. BTW, there is no request for MIC access within the app. Of course, I added the necessary lines in the Info.plist.
Any ideas why the stream is not starting on iOS?
Sorry to hear that. Sadly, I can't help you at all since I have no experience with iOS development whatsoever. I merged iOS support from Pull Request #15, you may want to reach out to the authors directly instead.
If anyone can replicate or even fix this I'm happy to provide my help.
For me it doesn't work in Simulator but does work on a real device. Make sure you set your Info.plist
correctly, if you don't it won't be able to ask for this permission.
If you know how to fix it, please feel free to open a Pull Request. I don't know anything about iOS permission handling
It seems not a permission issue, cause my simulator not work too(just wait for stream) after I granted the microphone permission request. I haven't try on real device yet. flutter 3.0.1 simulator ios15.5 iphone13
@nmfisher
Yes, this is permission issue. Check out this issue in the flutter-permission-handler package that is used in this: https://github.com/Baseflow/flutter-permission-handler/issues/574
basically you should add 'PERMISSION_MICROPHONE=1', into config.build_settings in your ios project's podfiles