Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhoneGap disable iPad support

I would like to have only iPhone support for my application.

As far as I can see from PhoneGap documentation, one can set handset option in target-device:

<preference name="target-device" value="handset" />

But this however does not work. After the build (I build application locally on the machine), I see Devices is set to Universal in the Deployment Info of the project.

How do I disable iPad support?

like image 809
Maksim Sorokin Avatar asked Mar 06 '14 09:03

Maksim Sorokin


Video Answer


1 Answers

This functionality was added in cordova-lib-0.21.8-dev according to https://issues.apache.org/jira/browse/CB-7118 which has been resolved. I've tested with cordova 4.2.0 and it appears to be working correctly.

like image 166
dancashman Avatar answered Oct 10 '22 15:10

dancashman