Possible to use cordova-plugin-http without EXTERNAL_WRITE_STORAGE?


#1

I upgraded my application to ionic3 and see that the cordova-plugin-http now requires that cordova-plugin-file be installed. Because of this the permission EXTERNAL_WRITE_STORAGE is required. Is it possible to not require that permission but still use cordova-plugin-http?

Here are the plugins currently used by the application. When checking the dependency it looks like the file plugin is required for http and apparently compat.

cordova-plugin-admobpro 2.26.0 "AdMob Plugin Pro"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-dialogs 1.3.2 "Notification"
cordova-plugin-extension 1.5.1 "Cordova Plugin Extension"
cordova-plugin-http 1.2.0 "SSL Pinning"
cordova-plugin-inappbrowser 1.7.0 "InAppBrowser"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-plugin-x-toast 2.6.0 "Toast"
cordova-sqlite-storage 2.0.3 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"

#2

Is there a particular reason that you’re using the Aordova HTTP plugin rather than Angulars?

That would at least remove that dependency, although I’m unsure what plugins depend on compat.


#3

Honestly, I thought it was required for http access. Removed it and all is right in the world again. Thank you!