Skip to content

Instantly share code, notes, and snippets.

@edewit
Created April 27, 2016 08:35
Show Gist options
  • Save edewit/e05c9b1e25bffc6ee4438795ed8c3b9a to your computer and use it in GitHub Desktop.
Save edewit/e05c9b1e25bffc6ee4438795ed8c3b9a to your computer and use it in GitHub Desktop.

In the Appforms-Template-v3 folder execute:

$ cordova create cordova --link-to www

Then add the following to the config.xml:

    <plugin name="cordova-plugin-whitelist" spec="1" />
    <plugin name="cordova-plugin-device" spec="~1.1.2" />
    <plugin name="cordova-plugin-network-information" spec="~1.2.1" />
    <plugin name="cordova-plugin-geolocation" spec="~2.2.0" />
    <plugin name="cordova-plugin-file-transfer" spec="~1.5.1" />
    <plugin name="cordova-plugin-camera" spec="~2.2.0" />
    <plugin name="phonegap-plugin-barcodescanner" spec="~4.1.0" />
    <plugin name="cordova-plugin-media-capture" spec="~1.3.0" />
    <plugin name="cordova-plugin-console" spec="~1.0.3" />
    <plugin name="cordova-plugin-media" spec="~2.3.0" />
    <plugin name="com.feedhenry.plugin.device" spec="https://github.com/feedhenry/fh-cordova-plugin-device.git" />

Add the platform and with a cordova prepare the plugins will be installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment