native-audio icon indicating copy to clipboard operation
native-audio copied to clipboard

Android: fixed plugin initialization

Open nicorac opened this issue 2 years ago • 1 comments

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 caller after load()).

nicorac avatar Oct 08 '23 10:10 nicorac

Is anyone in charge of merging this?

nicorac avatar Nov 18 '23 00:11 nicorac