title: Cannot read property 'CheckFrequency' of undefined
body: <p>My team recently added CodePush to our React Native app, and while it works perfectly fine on the original local repository, when I pull the changes I get the error</p>
  
  <blockquote>
    <p>Cannot read property 'CheckFrequency' of undefined</p>
  </blockquote>
  
  <p>This occurs after installing react-native-code-push and linking it properly. All answers I found for similar questions seemed to have this error when using Jest, but we are not using Jest and this error happens any time I run <code>react-native run-ios</code></p>
  
  <p>The code looks like this:</p>
  
  <p>CodePush is imported</p>
  
  <pre><code>import codePush from "react-native-code-push";
  </code></pre>
  
  <p>And later in the same file, the error occurs on</p>
  
  <pre><code>let codePushOptions = {
    checkFrequency: codePush.CheckFrequency.MANUAL, // error here
    updateDialog: false,
    installMode: codePush.InstallMode.IMMEDIATE
  }
  </code></pre>