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

fix(android): don't request audio focus on load #89

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

nicorac
Copy link
Contributor

@nicorac nicorac commented Oct 8, 2023

Plugin initialization always calls audioManager.requestAudioFocus() in load().

This way any already playing application (Musicolet, Spotify, ...) is paused at application start, making the focus configuration option passed to configure() useless (configure() is called after load()).

@nicorac
Copy link
Contributor Author

nicorac commented Nov 18, 2023

Is anyone in charge of merging this?

@jcesarmobile jcesarmobile changed the title Android: fixed plugin initialization fix(android): don't request audio focus on load Jun 28, 2024
@jcesarmobile jcesarmobile merged commit 066d2bc into capacitor-community:master Jun 28, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants