You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.
I receive the following errorMessage when i try to play a sound on my iPhone 7:
ERROR: CANNOT PLAY MUSIC IN BACKGROUND. Message from code: "Error Domain=NSOSStatusErrorDomain Code=-50 "(null)""
But the app never is in the background.
`
AudioPlayer _audioPlugin = AudioPlayer();
await _audioPlugin.play(
'assets/audio/test.mp3',
isLocal: true,
);
`
Are there any solutions for this?
The text was updated successfully, but these errors were encountered: