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
Hi, I found that the XMLHttpRequest is not working in the jxcore-cordova plugin, if you put the following code as a normal script loaded from the index.html everything is fine but if I do it inside the jxcore/app.js it fails.
varXMLHttpFactories=[function(){returnnewXMLHttpRequest()},function(){returnnewActiveXObject("Msxml2.XMLHTTP")},function(){returnnewActiveXObject("Msxml3.XMLHTTP")},function(){returnnewActiveXObject("Microsoft.XMLHTTP")}];varxhr=null;for(vari=0;i<XMLHttpFactories.length;i++){try{xhr=XMLHttpFactories[i]();}catch(e){continue;}break;}console.log(xhr);if(!xhr)throwconsole.log("XMLHttpRequest is not supported");
I have the Content-Security-Policy on my index.html but I don't know where to put it inside the jxcore/app.js.
The text was updated successfully, but these errors were encountered:
Hi, I found that the XMLHttpRequest is not working in the jxcore-cordova plugin, if you put the following code as a normal script loaded from the index.html everything is fine but if I do it inside the jxcore/app.js it fails.
I have the Content-Security-Policy on my index.html but I don't know where to put it inside the jxcore/app.js.
The text was updated successfully, but these errors were encountered: