I am developing a cordova app for both Ipad and Iphone and i need the iphone app to support only for portrait and ipad app to support only for landscape. Right now i have se
For iOS Cordova application you can use cordova-custom-config plugin, which is very easy to use and requires changes only in config.xml.
https://www.npmjs.com/package/cordova-custom-config#ios-example