Customer Support
- you can use
v_chat_sdk
for your app customer support - all you need to register new account in your app with name
customer support
or any name and unique email likecustomer@support.com
or any email - create widget in your app
customer support
like this
ProfileItem(
title: S.of(context).contactUsAndReportIssuesOrNewFeatures,
icon: Icons.chat,
onTap: () async {
try {
final res = await CustomAlert.chatAlert(
context: context, peerEmail: "hatemragap5@gmail.com");
if (res != null) {
await VChatController.instance.createSingleChat(
peerEmail: "hatemragap5@gmail.com",
message: res,
context: context);
CustomAlert.showSuccess(
context: context,
err: S.of(context).success,
);
}
} on VChatSdkException catch (err) {
CustomAlert.showError(context: context, err: err.toString());
rethrow;
}
},
),
- create your alert widget and put peer Email the customer email support you created
customer@support.com
- All done now any user click the support it will open dialog to ask him for the message then redirect him to the chat page
- all chats will be received in the customer email support you created
- Example