cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Nikotin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-12420) NativeToJsMessageQueue breaks the order of callbacks
Date Thu, 02 Feb 2017 19:41:51 GMT
Pavel Nikotin created CB-12420:
----------------------------------

             Summary: NativeToJsMessageQueue breaks the order of callbacks
                 Key: CB-12420
                 URL: https://issues.apache.org/jira/browse/CB-12420
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 6.4.0
         Environment: Android 4.4.2, Android 5.1.1
            Reporter: Pavel Nikotin
            Priority: Minor


I'm streaming data with cordova-plugin-chrome-apps-sockets-tcp plugin.
I receive data in javascript not in the same order as tcp plugin put to sendPluginResult.
I see that popAndEncode and popAndEncodeAsJs called from different places of cordova sources.
But only popAndEncodeAsJs method adds window.setTimeout(...,0); so I think It breaks order.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message