In my config.xml file I can set my target device to 'universal' so that it can run on both iPhone and iPad. However for the orientation preference I would like to select 'portrait' for iPhone and 'default' for iPad; so that on iPhones my app is locked in portrait orientation, and on iPads it can be in both landscape or portrait orientations. Is this possible? How do I go about doing this? Would I have to create a separate PhoneGap app for this?
My current my preferences are:
<preference name="orientation" value="portrait" />
<preference name="target-device" value="universal" />
Thanks for your help!
Thanks RickyB! I was looking for a solution in the config.xml file and when reading further down in the comments it looks as the solution has a few bugs. But I will give it a try none the less. Thanks for your response!