title: E/ReactNativeJS: undefined is not an object (evaluating 'b.default.sync')
body: <p>add codePush into my project with Error:</p>
  
  <pre><code>E/ReactNativeJS: undefined is not an object (evaluating 'b.default.sync')
  </code></pre>
  
  <p>when I use a new react project with module app, install code push as the document says <a href="https://github.com/Microsoft/react-native-code-push/blob/master/docs/setup-android.md" rel="nofollow noreferrer">https://github.com/Microsoft/react-native-code-push/blob/master/docs/setup-android.md</a></p>
  
  <p>everything is fine.</p>
  
  <p>But When I add code push into my existing project, the module named "passenger", not "app", I follow the step with the document, add code push Manual.</p>
  
  <p>also add code into <code>index.android.js</code></p>
  
  <pre><code>import CodePush from "react-native-code-push";
  
  componentDidMount(){
          console.log("CodePush");
          CodePush.sync();
      }
  </code></pre>
  
  <p>When I run my module, this error come across. <code>CodePush</code> undefined.
  Is anybody know what wrong with it?</p>