Unable to connect with openfire using react-native-xmpp
问题 I have a react-native Chat application which I am running on my android phone using USB debugging and I am using OPENFIRE as a chat server. For connecting with Openfire I am using library ' react-native-xmpp '. Below is the code for connection with OPENFIRE using react-native-xmpp -- import XMPP from 'react-native-xmpp'; var JID = 'admin@192.168.4.246'; XMPP.on('error', (message) => console.log('ERROR:' + message)); XMPP.on('loginError', (message) => console.log('LOGIN ERROR:' + message));