yonoss commented on issue #500:
URL: https://github.com/apache/cordova/issues/500#issuecomment-2405925018

   @breautek Thanks for your reply!
   I don't believe there is a problem with the back end or with the javascript 
EventSource handling code, as it is working correctly on standard browsers, on 
both PC and mobile phones.  On javascript side (see above) I am listening on 
the .onmessage handler/event as I am not setting events on the server side.
   
   The problem is only visible within cordova application, where I am using the 
exact same javascript code and the exact same backed endpoint. Still the tokens 
are not being processes one by one in the cordova app.
   The "Content-Type: text/event-stream" header is being set too for the 
connections from cordova.
   
   One thing that I noticed while debugging this problem in cordova using 
google chrome , is that the stream tab in the network connection only shows up 
at the end, once the backed signals the completion of the send to client 
action. In standard browsers this tab shows up at the moment the first package 
is being sent to the client. 
   
   As for the plugins, I only use the plugins mentioned above. And to my 
knowledge, none of them is altering the internet connection. So I don't think 
is a plugin problem either.
   
   Based on all these, I tend to believe there might be a webview  problem or a 
limitation... 
   
   
   
    
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to