Skip to content

ankyliu/proto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

说明

本工程为野火IM客户端协议栈,为所有野火IM原生平台(Android、iOS,Windows,OSX)提供协议处理功能。野火IM作为一个通用的即时通讯SDK,可以集成到各种应用中。详情可以阅读docs.

编译环境

协议栈是基于mars二次开发的,依赖于特定的环境,请参考mars,保证与mars相同的编译环境。

iOS的编译

在${mars}/mars/libraries/目录下执行下面命令,然后copy生成的mars.frameworkios-workspace/wfchatclient/Framework目录下

python build_apple.py

Android的编译

在${mars}/mars/libraries/目录下执行

python build_android.py

等待编译完成后,在进入到${mars}/mars/libraries/mars_android_sdk目录下执行

./gradlew build

编译完成后就能在build/output/aar目录下得到mars-core-release.aar, copy到android-chat/mars-core-release目录下

鸣谢

  1. mars 作为本项目的基础
  2. pbc 提供序列化能力
  3. libemqtt 提供mqtt协议处理能力
  4. wcdb 提供了协议层使用数据库私聊
  5. sqlcipher 提供了数据库加密能力

对以上项目的作者衷心的感谢,世界因你们的分享变得更美好。

License

Under the MIT license. See the LICENSE file for details.

About

Wildfire chat protocol stack

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 65.6%
  • C 32.5%
  • Assembly 0.6%
  • Pawn 0.4%
  • Java 0.4%
  • Python 0.2%
  • Other 0.3%