jfoclpf commented on issue #1004:
URL: https://github.com/apache/cordova-docs/issues/1004#issuecomment-986744132


   @killroy42 the plugins info (just code name and some settings) are in 
`package.json` under `cordova` property
   
   ```json
     "cordova": {
       "plugins": {
         "cordova-plugin-geolocation": {
           "GPS_REQUIRED": "true"
         },
         "cordova-plugin-statusbar": {},
         "cordova-plugin-screen-orientation": {},
         "cordova-plugin-device": {},
         "cordova-plugin-whitelist": {},
   ```
   
   the plugin versions are are also in `package.json`  under `dependencies` or 
`devDependencies`, such as any normal npm module
   
   ```json
    "dependencies": {
       "@fortawesome/fontawesome-free": "5.15.4",
       "body-parser": "^1.19.0",
       "bootstrap": "^4.6.1",
       "cordova": "^10.0.0",
       "cordova-browser": "^6.0.0",
       "cordova-import-npm": "^1.0.33",
       "cordova-pdf-generator": "^2.1.1",
       "cordova-plugin-app-version": "^0.1.12",
       "cordova-plugin-cache-clear": "^1.3.8",
       "cordova-plugin-device": "^2.0.3",
       "cordova-plugin-geolocation": "^4.1.0",
   ```
   
   **But you don't need to worry about that**, when you install or remove a 
plugin everything is done for you
   
   To install
   ```
   cordova plugin add cordova-plugin-<name>
   ```
   to remove
   ```
   cordova plugin rm cordova-plugin-<name>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to