title: How use plugin in phonegap for change screen orientation?
body: <p>My phonegap app should run in portrait orientation. Only one page (index.html) should run in landscape mode. Then I found the plugin for this, but doesn't work for me.</p>
  
  <p><code>cordova plugin add net.yoik.cordova.plugins.screenorientation</code></p>
  
  <p>In config.xml:</p>
  
  <p><code>&lt;preference name="orientation" value="portrait" /&gt;</code></p>
  
  <p>Index.html:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;App&lt;/title&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"&gt;
  &lt;script&gt;
  var so = cordova.plugins.screenorientation;
  so.setOrientation(so.Orientation.LANDSCAPE);
  &lt;/script&gt;
  </code></pre>
  
  <p>For android, the application returns an error <code>App has stopped</code>.</p>
  
  <p>For iPhone, nothing happening.</p>