推送服务器,可以对接所有的系统厂商推送服务或者第三方推送服务。

heavyrain.lee 7d26712d29 put config file to config path %!s(int64=6) %!d(string=hai) anos
apns 5f4aff0681 update %!s(int64=6) %!d(string=hai) anos
config 7d26712d29 put config file to config path %!s(int64=6) %!d(string=hai) anos
src 7d26712d29 put config file to config path %!s(int64=6) %!d(string=hai) anos
.gitignore cc513446b9 commit push server %!s(int64=6) %!d(string=hai) anos
LICENSE 903b9b947f Initial commit %!s(int64=6) %!d(string=hai) anos
README.md cd09e1316d update readme %!s(int64=6) %!d(string=hai) anos
apns.tar.gz 5f4aff0681 update %!s(int64=6) %!d(string=hai) anos
mvnw cc513446b9 commit push server %!s(int64=6) %!d(string=hai) anos
mvnw.cmd cc513446b9 commit push server %!s(int64=6) %!d(string=hai) anos
pom.xml cc513446b9 commit push server %!s(int64=6) %!d(string=hai) anos

README.md

野火IM 推送服务

作为野火IM的推送服务的演示,支持小米、华为、魅族和苹果apns。

编译

mvn package

修改配置

本演示服务有5个配置文件,分别是application.properties, apns.properties, meizu.properties, hms.propertiesxiaomi.properties 。 分别配置服务的端口和相关推送的配置。 请直接在工程的resource目录下修改打包进工程。或者放到jar包所在的目录下的config目录下。

运行

nohup java -jar push-XXXXX.jar > push.log 2>&1 &

鸣谢

  1. TypeBuilder 一个用于生成泛型的简易Builder

LICENSE

UNDER MIT LICENSE. 详情见LICENSE文件