WordPress LMS for Web and mobile › Forums › Ionic App Support › App is not working
I am not able to open the app its showing this error,
Access to XMLHttpRequest at ‘https://maxplore.website/api/wplms/v1/course/taxonomy/?taxonomy=course-cat’ from origin ‘file://’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header contains the invalid value ”.
Please and confirm.
this is the CORS error you can see the app after that you should build
because chrome remove the API hit from browser but if you build the app then the app will shown the data
so for this error you have to build the debug app through this command ionic cordova build android
then test this app on your android device.