Software Archive
Read-only legacy content
17061 Discussions

Radio stream with html5 running well in app preview but no in android device

Ade_P_
Beginner
245 Views

I try to build simple radio streaming app with intel xdk adn html5 audio

app  running well in app preview but not in android device. when i try to debug i found different header of them.

Someone please help me to investigate the issue...

 

header from android device -->

header from device.PNG

 

header from app preview -->

header from apppreview.PNG

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
245 Views

My guess is you need to setup your whitelist rules. See this doc page to get started > https://software.intel.com/en-us/xdk/docs/using-cordova-whitelist-rules-with-intel-xdk <

0 Kudos
Ade_P_
Beginner
245 Views
I already add wildcard "*" to whitelist. Result still same..
0 Kudos
PaulF_IntelCorp
Employee
245 Views

That may not be sufficient, you may need to configure the intents and navigation fields, as well. And, you may need to add a CSP rule in your index.html file. Please read the doc page I reference and also see the whitelist settings in the "hello cordova" sample for a reference that is fairly wide open.

0 Kudos
Reply