Abhishek134 / StarIO

StarIO Printer SDK for ionic2 project
0 stars 1 forks source link

This is a starter template for Ionic Star printer its is added Clone repository git clone xxxxx

Install npms npm install

Add platform ionic cordova platform add ios

Build ionic build ios

Notice in the package.json the plugins section.

"cordova-stario-plugin": "git+https://github.com/InteractiveObject/StarIOPlugin.git",

"cordova": { "plugins": { "cordova-plugin-console": {}, "cordova-plugin-device": {}, "cordova-plugin-splashscreen": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-whitelist": {}, "ionic-plugin-keyboard": {}, "cordova-stario-plugin": {} }, "platforms": [ "ios" ] }

The cordova commands below will each download and install this plugin.

cordova prepare ios //This sets up the ios environment cordova platform add ios //This calls cordova prepare

To reset or reinstall the plugin run: cordova platform rm ios //This removes the platform, however does not remove the plugin that is downloaded. ionic state reset //This removes the platform and removes the plugin