Change entrypoint file so iOS bundle is automatically generated

This commit is contained in:
Lei Nelissen
2020-07-28 11:42:08 +02:00
parent 86a4d11f67
commit 48dd8c23aa
2 changed files with 4 additions and 5 deletions

18
index.js Normal file
View File

@@ -0,0 +1,18 @@
// import React from 'react';
// // if (process.env.NODE_ENV === 'development') {
// // const whyDidYouRender = require('@welldone-software/why-did-you-render');
// // whyDidYouRender(React, {
// // trackAllPureComponents: true,
// // });
// // }
import 'react-native-gesture-handler';
import { AppRegistry } from 'react-native';
import TrackPlayer from 'react-native-track-player';
import App from './src/components/App';
import { name as appName } from './app.json';
import PlaybackService from './src/utility/PlaybackService';
AppRegistry.registerComponent(appName, () => App);
TrackPlayer.registerPlaybackService(() => PlaybackService);