cordova-plugin-enable-cleartext-traffic

2.1.0 • Public • Published

cordova-plugin-enable-cleartext-traffic

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.

Installation

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-traffic
 cordova prepare
 

or with Ionic CLI, from npm:

 ionic cordova plugin add cordova-plugin-enable-cleartext-traffic
 ionic cordova prepare

Contributing

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.

License

MIT

Package Sidebar

Install

npm i cordova-plugin-enable-cleartext-traffic

Weekly Downloads

253

Version

2.1.0

License

MIT

Unpacked Size

8.44 kB

Total Files

5

Last publish

Collaborators

  • rahulcv