title: Cordova NativePageTransitions plugin error
body: <p>I'm trying to use the NativePageTransitions-plugin( <a href="http://plugins.telerik.com/cordova/plugin/native-page-transitions" rel="nofollow noreferrer">http://plugins.telerik.com/cordova/plugin/native-page-transitions</a> ) for my cordova-project. It works pretty well so far.</p>
  <p>Then i read about the feature to manually control the transition, without a fixe delay.</p>
  <p>My transition code so far:</p>
  <pre><code>try {
      var flipOptions = {
          &quot;direction&quot;: dir, // 'left|right|up|down', default 'left' (which is like 'next')
          &quot;duration&quot;: duration, // in milliseconds (ms), default 400
          &quot;iosdelay&quot;: -1, //60, // ms to wait for the iOS webview to update before animation kicks in, default 60
          &quot;androiddelay&quot;: -1, //70, // same as above but for Android, default 70
          &quot;winphonedelay&quot;: 200 // same as above but for Windows Phone, default 200
      };
      window.plugins.nativepagetransitions.flip(
              flipOptions,
              function (msg) {
                  console.log(&quot;flip success: &quot; + msg);
              },
              function (msg) {
                  console.log(&quot;flip error: &quot; + msg);
              }
      );
  } catch (e) {
      //alert('error in transition');
      //alert(e.toString());
  }
  </code></pre>
  <p>and to execute the transition:</p>
  <pre><code>try {
      window.plugins.nativepagetransitions.executePendingTransition(
              function (msg) {
                  alert(&quot;manual success: &quot; + msg);
              },
              function (msg) {
                  alert(&quot;manual error: &quot; + msg);
              }
      );
  } catch (e) {
      alert('error in transition execution');
      alert(e.toString());
  }
  </code></pre>
  <p>Now, when calling the first function, the screen freezes correctly. When calling the second function, i get following outut:</p>
  <blockquote>
  <p>error in transition</p>
  <p>TypeError: Cannot read property 'nativepagetransitions' of undefined</p>
  </blockquote>
  <p>What does that mean? How can I resolve this?</p>