AppRegistry

Expo handles the entry component automatically. If you are not using Expo, you need to specify the entry component with AppRegistry.


RESETRUNFULL
import { Text, AppRegistry } from 'react-native';const App = (props) => (
  <View>
    <Text>App1</Text>
  </View>);AppRegistry.registerComponent('Appname', () => App);

Methods: Methods: Methods: