You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/04/25 15:16:59 UTC

[GitHub] [cordova-plugin-device] tauqeer81 opened a new issue #95: Device uuid is null on platform browser

tauqeer81 opened a new issue #95: Device uuid is null on platform browser
URL: https://github.com/apache/cordova-plugin-device/issues/95
 
 
   # Bug Report
   Device uuid is null on platform browser
   ## Problem
   By running `ionic cordova run browser` device uuid is null as Device object is empty
   ### What is expected to happen?
   Device info should be there as it supports browser platform
   
   
   ### What does actually happen?
   Device object is empty when running the application on browser platform
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   Here's my code
   
   `import { Device } from '@ionic-native/device/ngx';`
   
   `constructor(private device: Device) { }`
   
   `console.log('Device UUID is: ' + this.device.uuid);`
   Result: `Device UUID is: null`
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   `ionic cordova run browser`
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->Platform is browser using chrome
   
   
   
   ### 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.
   -->
   @ionic-native/device": "^5.5.0
   
   Please help me out how to resolve this problem. I have tested the code on android device. It's working fine
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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