Deepak Kumar
Deepak Kumar
That looks interesting workaround 😄 I do not have a test setup. However, please do try the following (in the file where you need StompJs): ```typescript import * as StompJs...
Please check https://stomp-js.github.io/guide/stompjs/rx-stomp/ng2-stompjs/2018/06/28/pollyfils-for-stompjs-v5.html. All the test cases successfully pass with this setup. The suggested setup is similar to what you have used. If you are bundling with Webpack to run...
I just now checked - if I use Node v11.2.0, I did not need `text-encoding`, please check if it works for you.
Thanks, will add this into documentation 😄
I assume you are using Node JS. `require` is not necessarily equivalent to `import` in Node JS. Please try the following: ```javascript Object.assign(global, { WebSocket: require('ws') }); ```
Please enable debug and attach console output if it does not work.
Leaving this open - so that others can use it as documentation.
I get your problem and I believe that the approach you have suggested is proper. Would you like to submit a PR or you would like me to make the...
Many thanks for this. I do not use React Native myself. This was earlier reported as slightly different issue (https://github.com/stomp-js/stomp-websocket/issues/37). The underlying issue seems to be Reactive Native having issue...