GithubHelp home page GithubHelp logo

aerogear-aerodoc-ios's Introduction

aerogear-aerodoc-ios Build Status

What's in aerogear-aerodoc-ios?

AeroDoc is an tutorial application to demonstrate how to build an application using Unified Push server. To get the big picture:

Unified Push Server big picture

You're a developper and you want to use AeroGear Unified Push Server to develop AeroDoc, a backend RESTful application with iOS client to create new leads and send them as push notifications to sale agents.

If you want to know more about AeroDoc description, see aerogear-aerodoc-backend

This repo focus on iOS client app. But before running the app, you'll need some setup.

Prerequisites

  • This application is using Push notifications from APNS, it required setup of Provisioning Profile. Please follow the steps explained in aerogear tutorial

  • Unified Push server should be deployed. Follow instructions from aerogear unified push server

  • AeroDoc backend should be deployed. Follow instructions from AeroDoc backend

Setup

  • Login (reset password if needed)

  • Register your application to get:

  • your pushApplicationID

  • and a masterSecret

  • Register your iOS variant. Start with development one. You will need your apple provisionning as explained in prerequisites. You should get:

  • variantID

  • and a secret

  • Setup AeroDoc backend configuration AeroDoc backend needs to know:

    • where url is your Unified Push Server, it could be local or running on OpenShift.
    • what is your pushApplicationID
    • and masterSecret
  • Setup AeroDoc iOS client

  • make sure bundle id of app matches the one in provisioning device

  • in config file, replace:

  #define URL_AERODOC @"http://localhost:8080/aerodoc/"
  #define URL_UNIFIED_PUSH @"http://localhost:8080/ag-push/"
  #define VARIANT_ID @"YOUR_VARIANT"
  #define VARIANT_SECRET @"YOUR_SECRET"
  #define ENDPOINT @"rest"

you're all set, enjoy!

Installation

pod install

Working with the app

Using AeroDoc, admin can create new leads, search for a nearby sale agent (SA), push the lead to a particular SA.

The SA logins to iOS AeroDoc aoo. Get a list of all open leads. Get a special message for the leads pushed to him. Puhsed leads appear with star icons. Once a lead is accepted, it is not available on open leads any more, but it is stored locally on SA device in MyLeads list.

Post-install

Because the application is storing local data on device, you may want to clear data from time to time.

aerogear-aerodoc-ios's People

Contributors

corinnekrych avatar cvasilak avatar edewit avatar matzew avatar

Watchers

 avatar  avatar  avatar

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.