Closed Shubham8507 closed 7 months ago
The closest I can recommend is a contributed sample App for using React with stompjs. Please see https://github.com/stomp-js/rx-stomp-react-sample. There is a tutorial.md file as well.
It has been reported to work. However, I have not validated it myself.
In addition, there is some helpful contributed information compiled at https://stomp-js.github.io/workaround/stompjs/rx-stomp/react-native-additional-notes.html.
place this inside index.js or App.jsx
import {TextEncoder} from 'text-encoding';
global.TextEncoder = TextEncoder;
Please see FAQs at https://stomp-js.github.io/faqs/2019/05/20/faqs.html before reporting. Can you please explain the stompjs example with react native or version