React-native-track-player: Error when playing in the background

Created on 22 Jan 2019  路  2Comments  路  Source: react-native-kit/react-native-track-player

I get the following error when playing in the background. (Platform iOS, I haven't tried it in Android).

Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8083/callbacks_poll'.

iOS

Most helpful comment

Correct if I'm wrong, but you might have to enable "background fetch" in XCode

All 2 comments

Correct if I'm wrong, but you might have to enable "background fetch" in XCode

@ataravati , this sounds like you鈥檙e trying to make a request while in the background that is not related to audio, but not the actual loading of the track url.

If so, this is out of scope for this module.

Closing this. Please let us know if this error is indeed coming directly from the TracPlayer.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JakeMotta picture JakeMotta  路  3Comments

moduval picture moduval  路  3Comments

moduval picture moduval  路  4Comments

toooldmohammad picture toooldmohammad  路  3Comments

RiccardoNL picture RiccardoNL  路  3Comments