1 |
|
2 | import React from 'react'
|
3 | import { Platform, AppRegistry } from 'react-native'
|
4 | // import expo from 'expo'
|
5 |
|
6 | import App from './examples/default/index'
|
7 |
|
8 |
|
9 | // export default Example;
|
10 |
|
11 |
|
12 | if (process.env.NODE_ENV === 'development') {
|
13 | // expo.KeepAwake.activate();
|
14 | }
|
15 |
|
16 | // expo.registerRootComponent(App);
|
17 | if (Platform.OS === 'web') {
|
18 | AppRegistry.registerComponent('App', () => App);
|
19 | AppRegistry.runApplication('App', {
|
20 | rootTag: document.getElementById('root')
|
21 | });
|
22 | } |
\ | No newline at end of file |