App is not working

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #30783

    Pulkit Poddar
    Hi Team, I am not able to open the app its showing this error, Access to XMLHttpRequest at '' from origin 'file://' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value ''. Please and confirm.

    Hey 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.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.