Locking the mode on portrait

<preference name="orientation" value="portrait"/>

Isn’t the above config.xml instruction all that is needed?
iphone does not honor that.

I also tried

<preference name="Orientation" value="portrait"/> with O being uppercase.

Do we really need a plug in for this?