简体   繁体   English

Worklight 6.1:device.platform在Windows RT 8.1上返回“ null”

[英]Worklight 6.1: device.platform returns “null” on Windows RT 8.1

We have develop a hybrid app using worklight 6.1 and dojo 1.9.1. 我们已经使用worklight 6.1和dojo 1.9.1开发了一个混合应用程序。

When we run the app on Windows RT 8.1 (Microsoft Surface tab), device.platform return "null" instead of OS name. 当我们在Windows RT 8.1(Microsoft Surface选项卡)上运行该应用程序时,device.platform返回“ null”而不是操作系统名称。 This works fine on Windows 8.1 Enterprise, Android and iOS. 在Windows 8.1企业版,Android和iOS上运行良好。

Worklight 6.1 uses Cordova 3.1. Worklight 6.1使用Cordova 3.1。
Per the Cordova documentation , it seems Windows RT and Windows 8 are covered under the same umbrella, so this may be a bug in Cordova... requires some investigation. 根据Cordova文档 ,似乎Windows RT和Windows 8被包含在同一伞下,因此这可能是Cordova中的错误……需要进行一些调查。

Supported Platforms

Android
BlackBerry WebWorks (OS 5.0 and higher)
iOS
Tizen
Windows Phone 7 and 8
Windows 8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM