/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry
} from 'react-native';
import {Provider} from 'react-redux'

import store from './src/store'
import RootView from './src/components/RootView'

const Fussbolito = React.createClass({
  render() {
    return (
      <Provider store={store}>
        <RootView />
      </Provider>
    );
  }
})

AppRegistry.registerComponent('Fussbolito', () => Fussbolito);

/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
import {Provider} from 'react-redux'

import MatchView from './src/components/MatchView'
import store from './src/store'

class Fussbolito extends Component {
  render() {
    return (
      <Provider store={store}>
        <MatchView/>
      </Provider>
    );
  }
}

AppRegistry.registerComponent('Fussbolito', () => Fussbolito);

--- 
+++ 
@@ -6,24 +6,21 @@
 
 import React, { Component } from 'react';
 import {
-  AppRegistry,
-  StyleSheet,
-  Text,
-  View
+  AppRegistry
 } from 'react-native';
 import {Provider} from 'react-redux'
 
-import MatchView from './src/components/MatchView'
 import store from './src/store'
+import RootView from './src/components/RootView'
 
-class Fussbolito extends Component {
+const Fussbolito = React.createClass({
   render() {
     return (
       <Provider store={store}>
-        <MatchView/>
+        <RootView />
       </Provider>
     );
   }
-}
+})
 
 AppRegistry.registerComponent('Fussbolito', () => Fussbolito);
Use new RootView also on Android
