9

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?

2
  • Select project navigator left side > Targets > Select Summary tab, there is one device drop down , select iPhone and click on validate settings button in bottom.
    – Ved
    Commented Mar 6, 2014 at 11:15
  • 1
    @Ved thanks, I know that. I am interested how to change this in the PhoneGap configuration. Commented Mar 6, 2014 at 13:48

1 Answer 1

1

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.

1
  • 2
    Instead of adding link, better to provide source code snippet here Commented Jan 20, 2015 at 2:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.