Git Product home page Git Product logo

apnagent-tutorial's Introduction

iOS APN Example

The following is an example to get you up and running with apnagent. It is based off of the engineyard tutorial. There are a lot of tutorials but they are either a couple years old or are a comprehensive app. This is meant to help you get quickly up and running so you can play around with APN.

Why Another Tutorial?

The other tutorials on this are too verbose. This is meant to be a quickstart version of the original tutorial. Also, the old tutorial hadn't been updated in a while which made it difficult to follow along. Even getting setup with the certs and appID have changed a lot since then!

Install/Setup Steps

  1. Clone the repo to your local directory.
  2. Have your device token ready
  3. npm install to make sure the dependencies in package.json is installed
  4. Edit device.js and replace it with your token
  5. Replace the pfx.p12 file in the _certs/ directory with your .p12 file
  6. Make sure you get a connection with node agent/_header.js
  • if you don't get 'apnaagent [sandbox] gateway connected' you need to troubleshoot
  1. Once that is ok, send a message with node agent/hello.js
  2. Now that you are up and running check out the original docs here. http://apnagent.qualiancy.com/

Todo

  • Walkthrough of how to install the test app for testing notifications
  • Walkthrough of how to get the correct certs and token for testing purposes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.