Coming soon: Landing Framework - White label marketing for agencies.

Documentation

Pulse Platform

Getting started

This app targets iOS >= 8 and Android >= 4.4, and uses the Pulse Platform API.

To boost perfomance and compatibility, you might consider to implement The Crosswalk Project. Feel free to ask questions about this on the forum, but we can't support this because we haven't used it ourselved.

Prerequisites

The following libraries are required:

Installation

After you've downloaded the project and unzipped it to a directory on your machine, open the config.xml in the root and update the name, app id and version. Open src/appConfig.ts to configure the API endpoint as described here.

Then, navigate to the app directory with your CLI and run the commands below.

Install required NPM packages

$ npm install

Add plugins

  • $ ionic plugin add cordova-plugin-device
  • $ ionic plugin add cordova-sqlite-storage
  • $ ionic plugin add phonegap-plugin-barcodescanner
  • $ ionic plugin add cordova-plugin-geolocation
  • $ ionic plugin add cordova-plugin-ibeacon
  • $ ionic plugin add https://github.com/EddyVerbruggen/cordova-plugin-local-notifications
  • $ ionic plugin add cordova-plugin-safariviewcontroller
  • $ ionic plugin add https://github.com/cowbell/cordova-plugin-geofence

Cordova Geofence Plugin

The Cordova Geofence Plugin requires some extra settings for iOS. In Xcode set:

Build Settings > Use Legacy Swift Language Version > Yes

And in config.xml:

<preference name="UseLegacySwiftLanguageVersion" value="true" />

iOS

Add the following keys to the project's Info.plist:

<key>NSCameraUsageDescription</key>
<string>Used to scan QR codes</string>

<key>NSLocationAlwaysUsageDescription</key>
<string>Used to provide information based on the device location</string>

<key>NSBluetoothPeripheralUsageDescription</key>
<string>Used to receive Bluetooth Beacon signals</string>

Add Ionic dirs

$ ionic serve

If you get the error Current working directory is not a Cordova-based project, simply add an empty www directory in the root of the project.

Add platforms

For iOS developers, take a look at the Cordova iOS Platform Guide and follow the instructions to install or upgrade X Code, and possibly register for a developer account to start building apps for iOS.

For Android developers, take a look at the Cordova Android Platform Guide and follow the instructions to install the SDK and/or Android Studio to start building apps for Android.