Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap targeting only iPhone (not iPad)?

Tags:

iphone

cordova

How can I make Phonegap Build to target my app only for iPhone (not iPad)? Is it possible?

I'm not using XCode. It's an HTML5/JS app built with Phonegap.

like image 750
pachi Avatar asked Nov 22 '12 23:11

pachi


1 Answers

I know this is old, but the correct answer isn't here; so I'm adding it. I got here with the same problem and below is the solution you're looking for:

In your config.xml:

<preference name="target-device" value="handset" />
like image 199
Warren Avatar answered Nov 15 '22 15:11

Warren