All Projects → OpenFlutter → flutter_im_demo

OpenFlutter / flutter_im_demo

Licence: Apache-2.0 license
📞 Flutter 使用 MQTT实现IM功能

Programming Languages

dart
5743 projects
ruby
36898 projects - #4 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to flutter im demo

Coogleiot
A ESP8266 Library for easy IOT device development
Stars: ✭ 118 (+45.68%)
Mutual labels:  mqtt-client
Mqttnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
Stars: ✭ 2,486 (+2969.14%)
Mutual labels:  mqtt-client
Collectd
The system statistics collection daemon. Please send Pull Requests here!
Stars: ✭ 2,700 (+3233.33%)
Mutual labels:  mqtt-client
Mqttandroidclient
Android消息推送MQTT
Stars: ✭ 131 (+61.73%)
Mutual labels:  mqtt-client
Mqtt Pwn
MQTT-PWN intends to be a one-stop-shop for IoT Broker penetration-testing and security assessment operations.
Stars: ✭ 156 (+92.59%)
Mutual labels:  mqtt-client
Rumqtt
Pure rust mqtt cilent
Stars: ✭ 198 (+144.44%)
Mutual labels:  mqtt-client
Applozic Ios Sdk
iOS Real Time Chat & Messaging SDK
Stars: ✭ 104 (+28.4%)
Mutual labels:  mqtt-client
Android-MQTT-Demo
An android application to demonstrate the complete MQTT lifecycle.
Stars: ✭ 31 (-61.73%)
Mutual labels:  mqtt-client
Libumqtt
A Lightweight and fully asynchronous MQTT client C library based on libev
Stars: ✭ 163 (+101.23%)
Mutual labels:  mqtt-client
Android Mqtt Service
A simple MQTT Service that will keep running for the duration of your Android application using the Paho Java MQTT Client.
Stars: ✭ 238 (+193.83%)
Mutual labels:  mqtt-client
Mqtt Client Framework
iOS, macOS, tvOS native ObjectiveC MQTT Client Framework
Stars: ✭ 1,722 (+2025.93%)
Mutual labels:  mqtt-client
Mqtt
Asynchronous MQTT client for PHP based on workerman.
Stars: ✭ 142 (+75.31%)
Mutual labels:  mqtt-client
Mqttclient
A high-performance, high-stability, cross-platform MQTT client, developed based on the socket API, can be used on embedded devices (FreeRTOS / LiteOS / RT-Thread / TencentOS tiny), Linux, Windows, Mac, with a very concise The API interface realizes the quality of service of QOS2 with very few resources, and seamlessly connects the mbedtls encryption library.
Stars: ✭ 234 (+188.89%)
Mutual labels:  mqtt-client
React Native Mqtt
Mqtt client for react native.
Stars: ✭ 122 (+50.62%)
Mutual labels:  mqtt-client
Emqtt
Erlang MQTT v5.0 Client
Stars: ✭ 253 (+212.35%)
Mutual labels:  mqtt-client
Paho.mqtt.java
Eclipse Paho Java MQTT client library. Paho is an Eclipse IoT project.
Stars: ✭ 1,620 (+1900%)
Mutual labels:  mqtt-client
Broadlink Mqtt
MQTT client to control BroadLink devices
Stars: ✭ 169 (+108.64%)
Mutual labels:  mqtt-client
eMQTT5
An embedded MQTTv5 client in C++ with minimal footprint, maximal performance
Stars: ✭ 51 (-37.04%)
Mutual labels:  mqtt-client
StriderMqtt
A very thin MQTT client
Stars: ✭ 21 (-74.07%)
Mutual labels:  mqtt-client
Iot Harbor
reactor3实现的mqtt库
Stars: ✭ 234 (+188.89%)
Mutual labels:  mqtt-client

drawing

文章相关博客

Flutter IM方案探索——MQTT

GIF展示图

drawing

说明

  💡为了给大家实现IM功能提供一些思路,🚦区别于市面上的接入第三方IM平台方案,本项目使用MQTT实现了一个简单的即时通信功能🤖,希望能给大家提供一些思路。目前许多flutter大型项目中的IM模块错综复杂或只是简单的通过三方SDK收发,并不方便各位的学习和参考,所以本人结合自己的经验专门写了一个Demo,仅包含简单的IM通信功能。各位可以以此为基础实现自己所需的相关业务功能。🤠

使用

  • 首先,要明确的是测试IM相关功能你需要两个模拟器📱
  • 如GIF所示,确定要建立通信的目标和自己的昵称后即可点击登录进入一个简单的仿微信界面。
  • 两个模拟器可以尝试发动消息,实现一个简单的IM收发功能(订阅相同主题)。

🥚

  为了让项目看起来不那么空洞🔧,我在项目内加入了一个动态的登录按钮,也通过UI手段实现了区分本人消息和他人消息,配置了一个类似微信的界面,这都算是一些小的功能点,有些看起来简单,实现上还是花费了一些功夫的🤯,各位有需要也可以直接拿去用就可以了。

尾声

  如果你觉得这个Demo对你的学习,或者后续开发有一些启发作用可以给项目点一颗🌟,感谢。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].