microsoft / cordova-plugin-code-push

Cordova plugin for CodePush
http://appcenter.ms
Other
644 stars 335 forks source link

Fix code push dependency "cordova-plugin-advanced-http" AFNewtworking overriding #682

Closed meiram-tr closed 2 years ago

meiram-tr commented 3 years ago

when installing cordova code push plugin, it install a dependency plugin "cordova-plugin-advanced-http". The "cordova-plugin-advanced-http" is using a local copy of AFNetworking with manual changes. when this plugin is playing together with other dependency that depends on https://cocoapods.org/pods/AFNetworking version 4.0 and above this plugin overides the real AFNetworking library files. I have created a fork of the "cordova-plugin-advanced-http" and fix the issue. In order to make both library and this plugin together I replaced AFNewtworking files and classes names (in this code) to prevent conflicts with the real pod library. else it causes the apps to crash.

meiram-tr commented 3 years ago

The PR is fixing issue https://github.com/microsoft/cordova-plugin-code-push/issues/679