CustomerSupportChat
Version 1.1
这是使用SMACK API构建的客户支持聊天库,您可以将其添加到Android应用程序中。
它如何工作?
您需要输入XMPP服务器详细信息,用户XMPP帐户的详细信息以及坐在XMPP客户端的其他地方的客户支持主管的XMPP ID。图书馆为您的应用程序用户和客户支持主管打开聊天窗口聊天。
屏幕截图

allprojects {
repositories {
maven {
url 'https://jitpack.io'
}
}
}
dependencies {
implementation 'com.github.Asutosh11:CustomerSupportChat:1.1'
}
ChatConnection mChatConnection = new ChatConnection();
mChatConnection.setxmppCustomerUsername("test1");
mChatConnection.setxmppCustomerPassword("test1");
mChatConnection.setxmppPortNo("5222");
mChatConnection.setxmppHostName("asutosh.p1.im");
mChatConnection.setxmppServiceName("asutosh.p1.im");
mChatConnection.setxmppIdOfSupportExecutive("[email protected]");
mChatConnection.setchatWindowTitle("Support chat window");
ChatActivity.startChat(mChatConnection, MainActivity.this);
Apache许可证2.0