Gordon Sun created CB-8767:
------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]