我正在使用phonegap build来构建适用于iOS、安卓和Windows的应用程序。我如何指定(可能是在config.xml中) phonegap build应该只为平板电脑构建,或者只为智能手机构建,或者在所有三个平台上都为两者构建?
发布于 2017-02-21 21:57:47
对于听筒,您可以在config.xml中将听筒preference设置为“iOS”:
<preference name="target-device" value="handset" />对于android,你需要在cordova hook中使用edit the manifest ...如after_prepare或after_platform_add
对于windows...嗯..。小丑!
https://stackoverflow.com/questions/42369155
复制相似问题