Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

handpoint/handpoint-ionic-app

Repository files navigation

Handpoint Payments Starter App


Overview

This is a demo app for the Handpoint Cordova Plugin. The app is fully functional. If you want to test your card reader just update the next line with your shared secret in app.component.ts before building the app:

  // set shared secret
  this.sdk.setSharedSecret('0102030405060708091011121314151617181920212223242526272829303132').then(() => {
    
  }, ); 

Prerequisites

  • Install node (v6.10.0)
  • Update npm to Latest: npm install -g npm
  • Install grunt: npm install -g grunt
  • Install the ionic CLI (npm install -g ionic)
  • Install Android Developer Studio with Android SDK and XCode

Getting Started

  • Clone this repository: git clone https://github.com/handpoint/handpoint-ionic-app.
  • Run npm install from the project root.
  • Run ionic serve in a terminal from the project root.

Build

Android

  • Add platform ionic cordova platform add android
  • Run ionic cordova build android

IOS

  • Add platform ionic cordova platform add ios
  • Run ionic cordova build ios