Skip to content

chgrp-hung/meteor-cordova-plugin-stub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meteor-cordova-plugin-stub

Stub for calling cordova plugins from a meteor app

Install Meteor

$ curl https://install.meteor.com/ | sh

Run app as XCODE project

From project directory, run the following to compile the app as an XCODE project

meteor run ios-device

Install cordova plugin

From project directory, run the following swapping-in the name of desired cordova plugin (note inclusion of version number)

meteor add cordova:plugin-name@0.0.1

More on Meteor and Cordova here: https://guide.meteor.com/mobile.html#introduction

Update cordova plugin options

All code for calling plugins and handling success/error callbacks is in client/main.js

test