Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS issue #27

Open
Konst80 opened this issue Nov 17, 2021 · 6 comments
Open

iOS issue #27

Konst80 opened this issue Nov 17, 2021 · 6 comments
Labels
wontfix This will not be worked on

Comments

@Konst80
Copy link

Konst80 commented Nov 17, 2021

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?

@anarchuser
Copy link
Owner

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.

@anarchuser anarchuser added the wontfix This will not be worked on label Nov 17, 2021
@asmodeoux
Copy link

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.

@anarchuser
Copy link
Owner

If you know how to fix it, please feel free to open a Pull Request. I don't know anything about iOS permission handling

@dannyxu2015
Copy link

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

@dannyxu2015
Copy link

@nmfisher

@Valdemayar
Copy link

Yes, this is permission issue. Check out this issue in the flutter-permission-handler package that is used in this:
Baseflow/flutter-permission-handler#574

basically you should add 'PERMISSION_MICROPHONE=1', into config.build_settings in your ios project's podfiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants