dari0h
dari0h

Reputation: 897

Phonegap build for tablet and/or smartphone

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

Answers (1)

n00dl3
n00dl3

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

Related Questions