capacitor-community / native-audio

MIT License
102 stars 62 forks source link

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

Closed nicorac closed 3 weeks ago

nicorac commented 9 months ago

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 commented 8 months ago

Is anyone in charge of merging this?