Skip to content

Apple Push Notification Server with Enhanced Binary Interface for Erlang

License

Notifications You must be signed in to change notification settings

tigerzhang/apns-enhanced-for-erlang

Repository files navigation

apns-enhanced-for-erlang

Apple Push Notification Server with Enhanced Binary Interface for Erlang by JPush (http://jpush.cn). If you get any questions, you can send me an email to .

Yunba 环境快速启动 & 测试

$ ./rebar compile && erl -pa ebin/ -pa deps/*/ebin/ -s apns

3> apns_mq_handler:test_package_from_mq(<<"你好10"/utf8>>).

HOWTO

  1. Put the certificate at rel/apns/certs/ in format _[1|2].pem. 1 - development, 2 - product
  2. make run
  3. Send test messages by ./test_data.sh localhost 2222. Make sure to change the CORRECT_DEVICE_TOKEN to your own device token.

Open Source

For developing a quick prototype, some codes are copied from following projects. https://github.com/inaka/apns4erl.git https://code.google.com/p/erl-generic-otp-tcp-server-framework/ http://hg.rabbitmq.com/rabbitmq-server/

About

Apple Push Notification Server with Enhanced Binary Interface for Erlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published