Cordova plugin to fix Cleartext Traffic Error in hybrid mobile android applications . Cleartext is any transmitted or stored information that is not encrypted or meant to be encrypted. When an app communicates with servers using a cleartext network traffic, such as HTTP, it could raise a risk of eavesdropping and tampering of content.
Automatically (CLI / Plugman)
cordova-plugin-enable-cleartext-traffic is compatible with Cordova Plugman, compatible with PhoneGap 3.0 CLI, here's how it works with the CLI:
phonegap local plugin add https://github.com/RahulCV/cordova-plugin-enable-cleartext-traffic.git
or with Cordova CLI, from npm:
cordova plugin add cordova-plugin-enable-cleartext-trafficcordova prepare
or with Ionic CLI, from npm:
ionic cordova plugin add cordova-plugin-enable-cleartext-trafficionic cordova prepare
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.