rxlabz / audioplayer

A flutter plugin to play audio files iOS / Android / MacOS / Web ( Swift/Java )

Home Page:https://pub.dartlang.org/packages/audioplayer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio Player depends on Activity during plugin registration

alanrussian opened this issue · comments

Hi,

In our app, we're trying to support registering plugins before the Android Activity has started in order to allow the Dart code to execute in the background. This requires plugins not to access the Activity during their registration method.

It seems like you don't need reference to the Activity. I will send a pull request. Please let me know if you have any questions about what we're trying to do.

--Alan