You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2015/12/10 15:34:11 UTC
[jira] [Updated] (CB-9985) device.platform returns null on iOS
[ https://issues.apache.org/jira/browse/CB-9985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Kotikov updated CB-9985:
---------------------------------
Labels: cannot-reproduce iOS triaged (was: )
> device.platform returns null on iOS
> -----------------------------------
>
> Key: CB-9985
> URL: https://issues.apache.org/jira/browse/CB-9985
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Device
> Affects Versions: 5.4.0
> Environment: OSX, iOS
> Reporter: Sigve Kvalsvik
> Priority: Minor
> Labels: cannot-reproduce, iOS, triaged
>
> I'm in the process of testing a cordova app on iOS using Testflight, but I'm having an issue with the device plugin. While it works fine in the XCode simulators as well as on a physical device when installed via XCode, the versions downloaded from Testflight all return device.platform = null. On Android it also works fine.
> I've worked around it by testing for device.platform !== "Android" instead of doing device.platform === "iOS", but I would prefer to have the plugin work as expected. Any ideas what's going on here?
> cordova-plugin-device 1.0.1 "Device"
> Installed platforms: android 4.1.1, ios 3.9.2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org