Skip to content
Permalink
Browse files
fix: move default plugin to package.json (#56)
Current versions of Cordova expect dependencies to be defined in
package.json. This updates the sample app to adhere to that practice.

Fixes #39
  • Loading branch information
raphinesse committed Nov 22, 2019
1 parent 7423804 commit 5e59246d1902e329d4db1b599a5e636e3932d47d
Showing 2 changed files with 9 additions and 2 deletions.
@@ -27,7 +27,6 @@
</author>
<content src="index.html" />
<!-- Whitelist configuration. Refer to https://cordova.apache.org/docs/en/edge/guide_appdev_whitelist_index.md.html -->
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
@@ -11,5 +11,13 @@
"ecosystem:cordova"
],
"author": "Apache Cordova Team",
"license": "Apache-2.0"
"license": "Apache-2.0",
"devDependencies": {
"cordova-plugin-whitelist": "^1.3.4"
},
"cordova": {
"plugins": {
"cordova-plugin-whitelist": {}
}
}
}

0 comments on commit 5e59246

Please sign in to comment.