title: Unable to get native Android view to show up in React Native
body: <p>I'm trying to get a simple <code>TextView</code> to show up from Android's native code, onto my Javascript view. However, the application fails silently, and I only see the default "Hello World"</p>
  
  <p><strong>RCTScannerViewManager.java</strong></p>
  
  <pre><code>public class RCTScannerViewManager extends SimpleViewManager&lt;TextView&gt; {
  
      public static final String REACT_CLASS = "RCTScannerView";
  
      @Override
      public String getName() {
          return REACT_CLASS;
      }
  
      @Override
      protected TextView createViewInstance(ThemedReactContext reactContext) {
          TextView tv = new TextView(reactContext);
          tv.setText("hello from android !");
          return tv;
      }
  }
  </code></pre>
  
  <p><strong>RCTScannerViewPackage.java</strong></p>
  
  <pre><code>public class RCTScannerViewPackage implements ReactPackage {
  
      @Override
      public List&lt;NativeModule&gt; createNativeModules(ReactApplicationContext reactContext) {
          return Collections.emptyList();
      }
  
      @Override
      public List&lt;Class&lt;? extends JavaScriptModule&gt;&gt; createJSModules() {
          return Collections.emptyList();
      }
  
      @Override
      public List&lt;ViewManager&gt; createViewManagers(ReactApplicationContext reactContext) {
          return Arrays.&lt;ViewManager&gt; asList(
                  new RCTScannerViewManager()
          );
      }
  }
  </code></pre>
  
  <p><strong>MainApplication.java</strong></p>
  
  <pre><code>    @Override
      protected List&lt;ReactPackage&gt; getPackages() {
        return Arrays.&lt;ReactPackage&gt;asList(
            new MainReactPackage(),
                new RCTScannerViewPackage()
        );
      }
    };
  </code></pre>
  
  <p><strong>ScannerView.js</strong></p>
  
  <pre><code>import React, { Component } from 'react'
  import { Text, View, requireNativeComponent } from 'react-native'
  
  class ScannerView extends Component {
      render() {
          return &lt;RCTScannerView /&gt;
      }
  }
  
  ScannerView.propTypes = {
      ...View.propTypes
  }
  
  const RCTScannerView = requireNativeComponent('RCTScannerView', ScannerView);
  
  export default ScannerView
  </code></pre>
  
  <p><strong>index.android.js</strong></p>
  
  <pre><code>import React, { Component } from 'react'
  import { AppRegistry, Text, View } from 'react-native';
  import ScannerView from './ScannerView';
  
  class AwesomeProject extends Component {
    render() {
  
      return (
          &lt;View&gt;
              &lt;Text&gt; Hello world &lt;/Text&gt;
              &lt;ScannerView&gt;&lt;/ScannerView&gt;
          &lt;/View&gt;
      );
    }
  }
  
  AppRegistry.registerComponent('AwesomeProject', () =&gt; AwesomeProject)
  </code></pre>