Tag Archives: ionic issue

How to solve cordova plugin whitelist.
Posted by:Ryan zongo, May - 07 - 2016

appacheYou are almost there. But you get another error :

You must install the whitelist plugin but you  dont know how to configure this plugin to work with cordova-android

In this case no worries. This step works fine

  • run this ionic plugin add https://github.com/apache/cordova-plugin-whitelist.git
  • in xml config:::  Add this <allow-navigation href=”*” />
  • in your index.html add  <meta http-equiv=”Content-Security-Policy” content=”default-src *; style-src ‘self’ ‘unsafe-inline’; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval'”>
  • Share :