Skip to content

Issue in Using with ReactNative, NULL chopping #89

@vinayak2095

Description

@vinayak2095

I am trying to integrate STOMP on my reactNative Project...
When I open my debug mode everything works fine but when i close my debug mode and run it normally it is not able to fetch data//

alert('Component did mount');
client.configure({
brokerURL: 'ws://x.x.x.x:xxxx/stomp',
onConnect: () => {
alert('onConnect');

    client.subscribe('topic', message => {
      console.log('show msg...',message);
      console.lo('show msg body...',message.body);

    });

    client.subscribe('topic', message => {
      console.log(message);
    
    });

    
  },
  
});

client.activate();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions