I am trying to create a iOS and Android XMPP chat client using Unity/C#/Mono. I got a fully functional chat client working for iOS using Jabber.net, but it does not work for Android. So does anyone have any idea of a library that works with Unity/C# for Android?
This post discusses Android and XMPP solutions, but have not found any way of connecting this to Unity: Android and XMPP: Currently available solutions
This is my question related to getting Jabber.net working for Android with Unity: Jabber.net on Unity/Android error (No JNI_OnLoad found in /system/lib/libc.so, skipping init)
Since nobody have answered here I how I solved it:
A bit work is required and takes some time to debug and build, but it does work.
Instead of all this manipulation with ASmack I recommend to use MatriX XMPP SDK. We are using this library for our Unity projects.
And it works on Win, Mac, iOS, Android without any special manipulation. We have only 1 problem with this lib - can't make it work on in WebPlayer
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