-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support cordova-plugin-advanced-http(-2) instead of the actual cordova-plugin-http #1883
Comments
Do these plugins you linked to have the same API as the original one but only add new functionality or fix broken functionality? Edit: Investigated a bit myself: From https://github.com/wymsee/cordova-HTTP:
From https://github.com/silkimen/cordova-plugin-advanced-http:
From https://github.com/LlamaloX/cordova-plugin-advanced-http-2:
So these both use a different global object to put there functionality in than the original plugin, so just replacing the repo will definitely not work. |
Yes I saw it to, but with replace I intend, deprecate cordova-HTTP and change ionic-native to use advanced-http. Those plugin fix some issues and also add one or two new functions which are not implemented yet in ionic-native, but that is not the problem :) declaring the custom native plugin using window.cordova.plugin.http does works
I also added the new function
So this seems to work great, I'll test it some days |
If the previous functionality is not changed, I think it would make sense to create a PR for the current plugin to change the repo and plugin object and add the additional methods. |
this pullrequest #1921 and release 4.2.0 resolves this FR |
I'm submitting a ... (check one with "x")
[ ] bug report
[X] feature request
Current behavior:
At the moment with @ionic-native/http you support the cordova-plugin-http, this plugin does support only in part sending json over a post, it does not handle cookies and it is also not maintained well.
In the web there are two forked projects which does all this amazing features, so I suggest to add one of this new plugins
https://github.com/silkimen/cordova-plugin-advanced-http
https://github.com/LlamaloX/cordova-plugin-advanced-http-2
I tried also to integrate this plugin with your index.ts you used for ionic-native/http but I wasn't able to do this.
It would be very nice and helpfull if you add this to your supported list.
Expected behavior:
Add new plugin with new ionic-native plugin or change the codova plugin integrating new functions in the already existing ionic-native lib.
The text was updated successfully, but these errors were encountered: