【发布时间】:2024-01-24 07:33:01
【问题描述】:
我知道我可以使用以下命令在 cordova-plugin-device 中将 Windows Phone 7 识别为“WinCE”,将 Windows Phone 8 识别为“Win32NT”:
platform === 'WinCE' || platform === 'Win32NT'
但是 Windows Phone 10 怎么样?
我们在离线存储上没有成功,我想知道这条线是否有遗漏。
我想问一下,如果换成 WP10 有什么替代方案?
【问题讨论】:
-
问题是 WP10 平台是通过这些 ifs 还是需要自己的?
标签: javascript cordova uwp cordova-plugins windows-10-mobile