jcesarmobile commented on issue #170:
URL: 
https://github.com/apache/cordova-plugin-device/issues/170#issuecomment-1237461703

   The plugin is in dependencies, but not in the plugins section inside cordova 
object.
   Should look like:
   ```
   "cordova": {
           "plugins": {
               "cordova-plugin-whitelist": {},
               "cordova-plugin-device": {}
           },
           "platforms": [
               "ios"
           ]
       },
   ```
   But it's like
   ```
   "cordova": {
           "plugins": {
               "cordova-plugin-whitelist": {}
           },
           "platforms": [
               "ios"
           ]
       },
   ```
   If you run `cordova plugin add cordova-plugin-device` the plugin will be 
correctly added and your app will work.


-- 
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