Thursday, 15 August 2013

cross platform - Adding Cordova Plugins to Platypi Project -


How can I add the Cordova plug to the Platonptic project?

I am starting with the new Mobile Development Framework Platypi.

I would like to add the Cordova plug-in to the project specifically to scan QR code.

I have tried to add a plugin from the command line with the following command, but the ' errors with the current working directory are not Cordoba-based projects.

  add cordova plugin com.phonegap.plugins.barcodescanner  

thanks.

If you are using you simply open Gruntfile.js in the root project directory and link Add 'com.phonegap.plugins.barcodescanner' for hard work. You can then remove the Cordoba folder and then run Wrap-Cordova . Alternatively, if you have already modified your project files for Cordova then you can run grunt cordovacli: add_plugins to avoid overwriting anything.


No comments:

Post a Comment