Real-time chat between customers and service providers
It makes for a more efficient and smoother experience between all parties involved. Giving users a way to quickly message each other when let's say, a taxi is not on time or an order is late, builds positive relationships between service providers and customers.
We would have had to spend more engineering time implementing our second choice which was more flexible and customizable, but not game-changing at the time, so we decided to use TalkJS.
Flutter and React Native SDKs available
You can integrate TalkJS into your Flutter or React Native app without having to write a single line of JavaScript. With these two SDKs, integrating TalkJS feels natural to both Flutter and React Native developers.
1// Synchronize user data and set up2import 'package:flutter/material.dart';3import 'package:talkjs_flutter/talkjs_flutter.dart';45void main() {6 runApp(const MyApp());7}89class MyApp extends StatelessWidget {10 const MyApp({Key? key}) : super(key: key);1112 // This widget is the root of your application.13 @override14 Widget build(BuildContext context) {15 final session = Session(appId: 'YOUR_APP_ID');1617 final me = session.getUser(18 id: '123456',19 name: 'Alice',20 email: ['alice@example.com'],21 photoUrl: 'https://talkjs.com/images/avatar-1.jpg',22 welcomeMessage: 'Hey there! How are you?',23 );2425 session.me = me;2627 final other = session.getUser(28 id: '654321',29 name: 'Sebastian',30 email: ['Sebastian@example.com'],31 photoUrl: 'https://talkjs.com/images/avatar-5.jpg',32 welcomeMessage: 'Hey, how can I help?',33 );3435 final conversation = session.getConversation(36 id: Talk.oneOnOneId(me.id, other.id),37 participants: {Participant(me), Participant(other)},38 );3940 return MaterialApp(41 title: 'TalkJS Demo',42 home: Scaffold(43 appBar: AppBar(44 title: const Text('TalkJS Demo'),45 ),46 body: ChatBox(47 session: session,48 conversation: conversation,49 ),50 ),51 );52 }53}
With TalkJS you get a customizable built-in notification system
We integrated with 3rd party services so you don't have to. Notify users on any channel. TalkJS supports email, mobile, SMS, and browser notifications out of the box. You don't need to assemble several services to get everything working. We take care of what's under the hood as well as the look and feel of the notifications.
Integrate chat with a few lines of code
You just need to tell us which conversation to display, who's chatting, and where to show it on the page. We take care of the rest! And if you want a deeper integration, we have all the APIs you'll need to add functionality or integrate into your own systems.
1<Session appId="9352938974" userId={me.id}>2 <Chatbox conversationId={conversation.id}/>3</Session>
Tune the look and feel of your chat
You can deeply customize the chat UI with HTML and CSS. With TalkJS Themes you have complete control over the styling, the layout, and document structure of the chat messages and the possibility to show metadata.
Now we can see how many clients and freelancers are interacting with one another. We can look at our dashboard and get broad overviews of what is happening within the application.