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

TODO: Investigate AVAudioSession.setCategory defaults #8

Open
ryanheise opened this issue Oct 12, 2020 · 0 comments
Open

TODO: Investigate AVAudioSession.setCategory defaults #8

ryanheise opened this issue Oct 12, 2020 · 0 comments

Comments

@ryanheise
Copy link
Owner

In an effort to allow the Dart API to pass in any combination of parameters with default values, the plugin chooses AVAudioSessionCategoryOptions.none as the default for the options parameter. However, the documentation says that allowBluetoothA2db will effectively be switched on by default "if you configure an app’s audio session to use the AVAudioSessionCategoryAmbient, AVAudioSessionCategorySoloAmbient, or AVAudioSessionCategoryPlayback categories". I may need to either emulate iOS's default values or try to avoid setting the default value myself and let iOS choose the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant