Add setIosCategory

This commit is contained in:
Ryan Heise 2020-05-21 00:38:26 +10:00
parent 64dc836b7f
commit 02631bfe84
8 changed files with 58 additions and 7 deletions

View file

@ -18,6 +18,7 @@ class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
AudioPlayer.setIosCategory(IosCategory.playback);
_player = AudioPlayer();
_player
.setUrl(