blob: b48b84b99ce567938bafcd455eeda0cbfcfe0f65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { AppRegistry } from 'react-native';
import App from './app'
// Sets up offline caching for all assets (disabled by default)
// You can enable offline caching by changing
// `enableOfflinePlugin` at the top of web/webpack.config.js
if (__OFFLINE__) {
require('offline-plugin/runtime').install()
}
AppRegistry.registerComponent('HanselGretelApp', () => App);
AppRegistry.runApplication('HanselGretelApp', {
rootTag: window.document.getElementById('react-root'),
});
|