A standalone Rails app providing apple push notifications (using rails_apn), and REST for communication
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
spec
test
vendor/plugins
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Introduction

rails_apn_standalone is a standalone Rails 3 based Apple Push Notification Service that can be accessed via a REST API. It uses a fork of the apn_on_rails plugin. I wanted to share the same APN server among a few different applications, so instead of plugging into my application, I decided to write a simple REST layer on top of apn_on_rails. There's also a simple admin UI to manage the data.

Installation

To install:

git clone this repository

Then

bundle install

Setup apple_push_notification_development.pem and apple_push_notification_production.pem, instructions are [here] (http://mobiforge.com/developing/story/programming-apple-push-notification-services).

Navigate to server/apps URL and add an application. Specify where your .pem files are on the server.

APIs include:

/devices /notifications /apps