/PushNotify

Android Push System using mqtt

Primary LanguagePythonApache License 2.0Apache-2.0

#PushNotify


基于mosquitto的Android推送的二次封装。Android的demo可以在tukodu中修改。

Feature


  • 添加了用户管理
  • mosquitto的命令行监控
  • (TODO)离线消息缓存

How to using


  • 运行环境Mac/*nix
  • 装有moquitto
  • 安装Django
  • 将apps/notification/mqttmanager.py中端口改为你需要的端口
execShell = "{0} -p 1884 2>&1"

TODO


  • Android客户端的ip和端口改为你的端口和ip

  • 独立出mosquitto管理模块,针对客户端数量开启活关闭服务

  • 离线缓存