CustomerSupportChat
Version 1.1
นี่คือห้องสมุดแชทฝ่ายสนับสนุนลูกค้าที่สร้างขึ้นโดยใช้ SMACK API ที่คุณสามารถเพิ่มลงในแอปพลิเคชัน Android ของคุณ
มันทำงานอย่างไร?
คุณต้องป้อนรายละเอียดเซิร์ฟเวอร์ XMPP รายละเอียดของบัญชี XMPP ของผู้ใช้และรหัส XMPP ของผู้บริหารฝ่ายสนับสนุนลูกค้านั่งอยู่ที่อื่นบนไคลเอนต์ XMPP ห้องสมุดเปิดหน้าต่างแชทสำหรับผู้ใช้แอปของคุณและผู้บริหารฝ่ายสนับสนุนลูกค้าเพื่อแชท
ภาพหน้าจอ

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