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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With