Skip to content

ahmedadelfahmy/airnotifier

 
 

Repository files navigation

Introduction

AirNotifier is an application server for apple push notification service, users and resources management, it's a strong and generic backend for iOS apps.

APNs requires a certification to set up SSL connection, we needs multi server instances without sharing certification file with all peers under certain circumstances, AirNotifier works as a push notification forwarder, each peer sends notification requests to it, it setup the SSL connection and forward notification to application notification server.

Installation

Installation guide

Configuration

airnotifier.conf is the config file, options:

  • pemdir: The directory storing APNS certificate
  • passwordsalt: passwordsalt
  • masterdb: MongoDB database name
  • dbprefix: MongoDB collection name prefix, this will be used to create object data collection

Design

API documentation

Features

  • Generic backend for iOS app (Users, resources management) in the Cloud
  • Restful API allows providers to send notification through straightforward restful interface
  • Access key management
  • Logging activities
  • Non-blocking API design allows master provider to handle large loads of request smoothly

Requirements

Server stack

Copyright

Copyright (c) 2012, Dongsheng Cai

License

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
  notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
  notice, this list of conditions and the following disclaimer in the
  documentation and/or other materials provided with the distribution.
* Neither the name of the Dongsheng Cai nor the names of its 
  contributors may be used to endorse or promote products derived
  from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DONGSHENG CAI BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

iOS Push Notifications Server for Human Beings

http://dongsheng.github.io/airnotifier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published