404 not found


Hey, I’ve had 404 error from my server but it only happens when I use my app in my android device, I’ve tested it in the browser but it works great. can anyone help me thanks

ionic 2.1.18
cordova 6.4.0


I fixed following this steps

  1. ionic plugin add https://github.com/apache/cordova-plugin-whitelist.git
  2. add to config.xml
  3. add to the header of index.html