<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 10:17 AM, Corinne Krych <span dir="ltr"><<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 18 Feb 2015, at 09:45, Matthias Wessendorf <<a href="mailto:matzew@apache.org">matzew@apache.org</a>> wrote:<br>
><br>
><br>
><br>
> On Wed, Feb 18, 2015 at 9:40 AM, Sebastien Blanc <<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>> wrote:<br>
><br>
><br>
> On Wed, Feb 18, 2015 at 9:34 AM, Matthias Wessendorf <<a href="mailto:matzew@apache.org">matzew@apache.org</a>> wrote:<br>
><br>
><br>
> On Tue, Feb 17, 2015 at 11:06 PM, Sébastien Blanc <<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>> wrote:<br>
> Hi !<br>
> I just wanted to share that interesting post from the Cordova dev list. It shows how to delegate XMLHttpRequest and image loading to a native implementation.<br>
><br>
> Would we provide any advantage by using our iOS http lib and android Pipes over plain XMLHttpRequest ?<br>
><br>
> Not sure I am really following your thoughts, but isn't that what we are already doing inside e.g. the push plugin? the actual HTTP stack is part of our native libs, instead of XHR<br>
> sure that is what we do for Push, but I was not thinking of Push, was more thinking of a "AeroGear http" plugin that people could use for all their http calls but again no idea if that brings any advantage over regular XHR.<br>
><br>
> Ah! ok, that makes more sense - I was just wondering about this :-)<br>
><br>
> Regarding Android-Pipes, since they over more than just HTTP, I am not sure if all of that is easy to integrate into the cordova web-view (e.g. Lifecycle and Activity hooks). But perhaps it's worth - at some point - to take a look at that.<br>
<br>
</span>interesting indeed.<br>
I just don’t have a use case in mind… do you have one Sebi?<br></blockquote><div>To be honest I don't have one for the moment :) I was hoping on you ;) but like Matzew said let's track this idea for later.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
> I doubt there is an immediate action needed, but feel free to track the idea on the AGCORDOVA jira instance<br>
><br>
><br>
> -Matthias<br>
><br>
><br>
> Also check the reply where another one have used the same approach to add certificate pinning , that could be an interesting source of inspiration since I know cert pinning is on the security roadmap [1]<br>
><br>
> Sébi<br>
> [1] <a href="https://issues.jboss.org/browse/AGSEC-196" target="_blank">https://issues.jboss.org/browse/AGSEC-196</a><br>
><br>
> Envoyé de mon iPhone<br>
><br>
> Début du message transféré :<br>
><br>
>> Expéditeur: Brien Colwell <<a href="mailto:brien@nextop.io">brien@nextop.io</a>><br>
>> Date: 17 février 2015 11:42:48 UTC+1<br>
>> Destinataire: <a href="mailto:dev@cordova.apache.org">dev@cordova.apache.org</a><br>
>> Objet: I replaced XMLHttpRequest and image loading with a plugin, and wrote up my experiences<br>
>> Répondre à: <a href="mailto:dev@cordova.apache.org">dev@cordova.apache.org</a><br>
>><br>
>> Hi All,<br>
>><br>
>> I spent some time researching how much of the webview network stack I could replace with a Cordova plugin on Android. I wrote a post about it -<br>
>><br>
>> <a href="https://github.com/nextopio/nextop-client/blob/master/docs/02.16.2015_CUSTOM_XMLHTTPREQUEST.md" target="_blank">https://github.com/nextopio/nextop-client/blob/master/docs/02.16.2015_CUSTOM_XMLHTTPREQUEST.md</a><br>
>><br>
>> The take away is that a Cordova can fully replacing the default XHR and image loading in the webview for async=true, but it can't do async=false (but who uses that anyway :/). This is cool because plugins can experiment with new wire protocols to get data to the client.<br>
>><br>
>> Best,<br>
>> Brien<br>
>><br>
>><br>
>> ---------------------------------------------------------------------<br>
>> To unsubscribe, e-mail: <a href="mailto:dev-unsubscribe@cordova.apache.org">dev-unsubscribe@cordova.apache.org</a><br>
>> For additional commands, e-mail: <a href="mailto:dev-help@cordova.apache.org">dev-help@cordova.apache.org</a><br>
>><br>
><br>
> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>
><br>
><br>
> --<br>
> Matthias Wessendorf<br>
><br>
> blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
> sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
> twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
><br>
> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>
><br>
> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>
><br>
><br>
> --<br>
> Matthias Wessendorf<br>
><br>
> blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
> sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
> twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></div></blockquote></div><br></div></div>