You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/13 16:24:32 UTC

[GitHub] [cordova-plugin-device] Okkkks opened a new issue, #170: divece is undefined for ios in 2.1.0 version

Okkkks opened a new issue, #170:
URL: https://github.com/apache/cordova-plugin-device/issues/170

   # Bug Report
   
   ## Problem
   divece is undefined for ios in 2.1.0 version
   ### What is expected to happen?
   I use check platform in my code
   
   device.platform
   
   and after update from version 2.0.3 to 2.1.0 the cod doesn't work because device is undefined
   
   I was create test project and check it on ios v5.1.1 and for ios v6.2.0 - it's doesn't work for v2.1.0 and works for v2.0.3
   
   see my test project in attachment
   [test.zip](https://github.com/apache/cordova-plugin-device/files/8689384/test.zip)
   
   ### What does actually happen?
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   
   


-- 
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: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-device] jcesarmobile commented on issue #170: divece is undefined for ios in 2.1.0 version

Posted by GitBox <gi...@apache.org>.
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-device] jcesarmobile closed issue #170: divece is undefined for ios in 2.1.0 version

Posted by GitBox <gi...@apache.org>.
jcesarmobile closed issue #170: divece is undefined for ios in 2.1.0 version
URL: https://github.com/apache/cordova-plugin-device/issues/170


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org