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(() => {
…
}, …);
- 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
- 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.
- Add platform
ionic cordova platform add android
- Run
ionic cordova build android
- Add platform
ionic cordova platform add ios
- Run
ionic cordova build ios