I have tried everything to resolve the CORS issue which doesn't allow tabs to load on profile page neither allows to load the images.
Tried this SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
But didn't work either.
Loaded the alternate config.xml that you have provided as well. Didn't work.
Please suggest what to do.
Yes have tried literally everything out there. Have gone through all the topics on your forum, plus numerous posts on wordpress, stackoverflow.
Have easily spent more than 10 hours trying all this.
I believe there is something else going on. I am pretty advanced at such things and I am totally stumped.
This is neither related to api code not to app code .
Well the error is actually related to server security .
On some server it actually strips the authorization code from php's $_SERVER global variable which we are using .
Please share your site url , admin credentials and a valid ftp credentials in a private reply to check and confirm this .
Hello, I'm facing pretty much the same problem, my app compiles and runs on most devices, but on select android devices it fails to fetch any data, inspecting what was happening using developer tools in Chrome debugger window it specifies this error "Access to XMLHttpRequest at 'https://***********************' from origin 'file://' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value ''."
I went though all the .htaccess suggestion and tried all the stackoverflow and git suggestions to no relief.