I need to integrate with xmpp server from react native application.I've found an existing library for react native iOS version (https://github.com/aksonov/react-native-xmpp) .
But I could not find any existing react native xmpp library for Android version.
Could someone please let me know if any library is available and point me towards it?
Is it possible to write a native android library for xmpp and then link it my React native code?
You can use a library like Smack on Android and expose it to react-native yourself. If you have some experience with Java it is usually not that difficult: native modules docs.
Without knowing too much about the libraries, I think the challenge would be to unify the api for iOS and Android. If you only want to support Android that would not be a problem. Otherwise ask the author of react-native-xmpp to integrate your Android code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With