intro
Welcome in vchat sdk v1
Get started by creating a new app or existing app in production.
System Requirement
This is Not Full app
Directed to flutter developers who want to implement complete chat system in their apps without write chat code
Check Out YouTube tutorial YOUTUBE
login
®ister
system in your app inv0.5.0
and above not required you can register by phone or ( facebook,apple,etc... just send the email) just send it in email no password needed- guest login also supported, but you can't start chat until you register
- I use
passwordKeyHash
to hash the email and sent it to server sopasswordKeyHash
so it must be same key in server.env
andvChatController.init()
VPS Server
for host node js and mongo db you can buy it from any provider likedigital ocean
orhostinger
- last version of Flutter sdk run
flutter upgrade
- if any conflict happen update all your package to last version first or if not fixed please open
issue on github
Why V_CHAT_SDK
- all data will save on your server you have bought to run v chat on it
- it has written in pure
_dart_
help you to add chat functionality - easy to integrate and support
multi-language
as you want also support widgetcustomization
Unlimited
text/image/video/record message and notifications/group chat- can be used with any existing or new flutter mobile project with any
back-end
service you use V_CHAT_SDK
is an easy way to integrate advanced real time message chat with 6 public api only πV_CHAT_SDK
useNode js
as backend service andFirebase
for (push notifications only) message database isMongo DB
- Try the
APK
last version APK - Try the
IOS
last version testflight
About Micro Service
- less load on your main server since chat has high traffic.
- They enable scale. Scalability is about more than the ability to handle more volume. Itβs also about the effort involved. Microservices make it easier to identify scaling bottlenecks and then resolve those bottlenecks at a per-microservice level.
- They are relatively easy to build and maintain. Their single-purpose design means they can be built and maintained by smaller teams. Each team can be cross-functional while also specialise in a subset of the microservices in a solution.
- you can add it as subdomain like
chat.example.com
- there are public flutter package on
pub.dev
you have to use it as for flutter v_chat_sdk
How V_CHAT_SDK works
VCHAT_SDK
connected with your backend service HOW!.- check out v chat api
swagger
to know more about how its apis works swagger VCHAT_SDK
don't matter what is your backend code written because it will connect with it by public apis and runseparately
isolated but still connected by public apis- When you register new user in your system you should call this public api
final u = await VChatController.instance.register(
dto: VChatRegisterDto(
name: name,
userImage: imagePath == null ? null : File(imagePath!),
email: email,
),
context: context,
);
- I just need basic information like unique id and password and your image to identify user in rooms view
email
must be unique email is string you can pass phone number or anything- this api will save the user also in your node js database to use it later in chats
- so when you want to start new chat just send me the peer email because it's unique in
vchat
and your system so I can identify the user same as login - v chat use access token and save it local it save login sections
- so by this way the two systems are in sync
- there are other public api like change name,chatImage will discuss in
vchat_public_api
- all chats and messages and files images videos saved on node js service on public folder
vchat
use auth jwt token and rate limit for improve securityvchat
automatic create thumbnail from use image to improve performancevchat
also create thumbnail from images which send in chat to improve the memory
Features
Name | Android | Ios |
---|---|---|
online/offline | π | π |
textMessage/typing... | π | π |
voiceRecord/recording... | π | π |
saned video/file/images | π | π |
cache all media | π | π |
message notification | π | π |
mute/un mute notification | π | π |
block/un block users | π | π |
message status/read/unread/and unread count | π | π |
Group Chat with administration system | π | π |
smooth performance | π | π |