Reputation: 897
I'm using phonegap build to build my apps for iOS, Android and Windows. How do I specify (in config.xml probably) that phonegap build should build only for tablets, or only for smartphones or for both across all three platforms?
Upvotes: 0
Views: 662
Reputation: 21564
for iOS you can set the target-device
preference to "handset" in config.xml:
<preference name="target-device" value="handset" />
For android, you'll need to edit the manifest in a cordova hook... Like after_prepare
or after_platform_add
For windows... hum... Joker!
Upvotes: 2