Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howler + Phonegap + online streams not working within build, but whilst in development. #1207

qroft opened this issue Aug 11, 2019 · 1 comment


Copy link

commented Aug 11, 2019

I have created a small music player and while developing locally within the so called Phonegap Developer App, everything works smoothly.
Now i have build my app and uploaded it to the Play store.
Everything works, exxcept the audio streams.

My suggestion at the moment:
Must i include anything into my config.xml allowing the streaming?


This comment has been minimized.

Copy link

commented Aug 14, 2019

So here comes the solution.
It indeed seems to be a CORS problem. What i had to add were these steps, in case anyone else has the same problem.

  1. Install the cordova-whitelist-plugin via npm or any other of your prefered way inside your project's folder (not the www folder, but the root with all the phonegap specific folders!)
  2. Add this to your config.xml file:

Please be aware to use the correct spec version!

@qroft qroft closed this Aug 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.