[ 
https://issues.apache.org/jira/browse/CB-8767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-8767.
---------------------------------
    Resolution: Duplicate

new property `isVirtual` has been added to iOS + Android + WP8

> Have the ability to detect running in emulator or simulator vs real device
> --------------------------------------------------------------------------
>
>                 Key: CB-8767
>                 URL: https://issues.apache.org/jira/browse/CB-8767
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Device
>    Affects Versions: 3.5.0
>            Reporter: Gordon Sun
>
> Google search on how to do this gave me nothing useful except 
> http://stackoverflow.com/questions/20761520/phonegap-detect-emulation . But 
> when I try to do what the answer suggested device.platform gives me iOS 
> device.model gives me x86_64 . There is basically no way for me to detect 
> whether I'm running inside emulator or real device. Is this a regression or 
> something?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to