Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Cordova-plugin-whitelist problem only in release

$
0
0

@ludochane wrote:

Hi,
I have a problem with the cordova Whitelist plugin.
It works well in debug mode (ionic build android).
But in release mode (ionic build --release android), my app can't reach my rest api.

I've set <access origin="*" /> in the config.xml.
And
<meta http-equiv="Content-Security-Policy" content="default-src 'self' *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' *">
in index.html

I've tried lots of things and nothing works... And same problem for ios build...
Have you ever get this issue ?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>