title: React Native events do not work
body: <p>I have a trivial react component that only shows a button:</p>
  
  <pre><code>&lt;Button onPress={() =&gt; console.log("test")} title="Button"/&gt;
  </code></pre>
  
  <p>When I put this button into a project I created with <code>react-native init</code>, it works as expected.</p>
  
  <p>However, I have an existing project into which I integrated React Native (0.51.0) manually (because it doesn't use cocoa pods; I followed this guide: <a href="https://medium.com/@joshyhargreaves/adding-react-native-to-existing-ios-project-without-cocoapods-6f1ee9106009" rel="nofollow noreferrer">https://medium.com/@joshyhargreaves/adding-react-native-to-existing-ios-project-without-cocoapods-6f1ee9106009</a>).</p>
  
  <p>The project seems to work fine: the UI loads, the button gives visual feedback when I tap it. But the buttons <code>onPress</code> event is not fired, so it does not log anything.</p>
  
  <p>There are no errors or warnings (except <code>Class RCTCxxModule was not exported</code>, but it seems to be safe to ignore this).</p>
  
  <p>I'm now out of ideas of what I could try or how I could debug this issue short of diving into Reacts touch handling code. Here's what I tried:</p>
  
  <ul>
  <li>Made sure to only have one RCTRootView, and that it is created in the main thread.</li>
  <li>Checked for any suspicious things happening in the remote debugger; everything looks normal (no exceptions thrown or warnings logged).</li>
  <li>Tested a few other components that should fire events; for example, <code>TouchableOpacity</code> does not work either.</li>
  <li>Logging something after a timeout does work, so it doesn't seem like anything is deallocated prematurely</li>
  <li>Checking for errors reported by the metro bundler: it doesn't print anything</li>
  </ul>
  
  <p>Any ideas on what I need to do to get my button to print "test" when I tap it?</p>