Orientação gerada a partir de informações públicas. Apenas para referência.
Um plugin do Flutter que permite a integração fluida com o Freshchat, uma plataforma de mensagens para clientes, em aplicativos móveis. Ele permite que desenvolvedores incorporarem funcionalidades de chat em tempo real diretamente em seus aplicativos Flutter, facilitando a comunicação entre usuários e equipes de suporte. O plugin oferece suporte para as plataformas Android e iOS, proporcionando uma experiência consistente em dispositivos diferentes. Com configuração mínima via pub.dev, ele aumenta o engajamento do usuário por meio de mensagens dentro do aplicativo, respostas automáticas e histórico de conversas. A natureza de código aberto do plugin incentiva contribuições da comunidade e transparência.
Casos de uso
Suporte ao cliente no aplicativo
Mensagens de usuário em tempo real
Automação de atendimento ao cliente
rastreamento de engajamento do usuário
Integração de bilhete de suporte
Principais recursos
Compatibilidade multiplataforma
Integração fácil por meio do pub.dev
Interface de bate-papo em tempo real
Suporte para histórico de conversas
código-fonte aberto
Indicado para
Aplicativos móveis que precisam de bate-papo ao vivo
sistemas de suporte ao cliente
Aplicativos com alta interação do usuário
Desenvolvedores usando o Flutter
Equipes que desejam soluções de código aberto
Considerações
Requer configuração da conta Freshchat
Limitado ao conjunto de recursos do Freshchat
Pode ser necessário configuração adicional para casos de uso avançados
Depende da estabilidade do backend do Freshchat
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
💬 Flutter Freshchat
A Flutter plugin for integrating Freshchat in your mobile app.
Starting with iOS 10, Apple requires developers to declare access to privacy-sensitive controls ahead of time.
<key>NSPhotoLibraryUsageDescription</key><string>To Enable access to Photo Library</string><key>NSCameraUsageDescription</key><string>To take Images from Camera</string>
If you encounter non-modular header error during project build
error: include of non-modular header inside framework module 'flutter_freshchat.FlutterFreshchatPlugin'
Manually in xcode update the FreshchatSDK.h to be in the flutter_freshchat target and public.
You may have to do this each time your switch or rebuild the xcode project from flutter.
Update the user info by setting by creating a FreshchatUser object
FreshchatUser user = FreshchatUser.initial();
user.email = "john@test.com";
user.firstName = "john";
user.lastName = "doe";
user.phoneCountryCode = "+91";
user.phone = "0123456789";
awaitFlutterFreshchat.updateUserInfo(user: user);
// Custom properties can be set by creating a Map<String, String>Map<String, String> customProperties = Map<String, String>();
customProperties["loggedIn"] = "true";
awaitFlutterFreshchat.updateUserInfo(user: user, customProperties: customProperties);
Identify the user user by usin email address or any way you uniquely identify the user.
externalID is required and returns a restoreID you can save it and use to restore the chats
Show conversation opens a conversation screen and also list all the other conversation if a list obejct is supplied to it. You can also pass a title for the chat screen.
ShowFAQs opens a FAQ screen in a grid like format as default you can change the default setting by changing this paramters. showFaqCategoriesAsGrid = true showContactUsOnAppBar = true showContactUsOnFaqScreens = false showContactUsOnFaqNotHelpful = false
awaitFlutterFreshchat.showFAQs();
Gets the unseen message count from freshchat you can use this to show a counter.
int count = awaitFlutterFreshchat.getUnreadMsgCount();
Reset user data at logout or when deemed appropriate based on user action in the app.