Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

iOS: Error Domain=NSOSStatusErrorDomain Code=-50 #137

Open
D4n1378472 opened this issue Jul 25, 2020 · 0 comments
Open

iOS: Error Domain=NSOSStatusErrorDomain Code=-50 #137

D4n1378472 opened this issue Jul 25, 2020 · 0 comments

Comments

@D4n1378472
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant