2020-06-16 17:51:51 +02:00
|
|
|
import 'react-native-gesture-handler';
|
|
|
|
|
import { AppRegistry } from 'react-native';
|
2020-06-16 21:41:02 +02:00
|
|
|
import TrackPlayer from 'react-native-track-player';
|
2020-06-16 17:51:51 +02:00
|
|
|
import App from './src/components/App';
|
|
|
|
|
import { name as appName } from './app.json';
|
2020-06-16 21:41:02 +02:00
|
|
|
import PlaybackService from './src/utility/PlaybackService';
|
2023-06-19 22:26:41 +02:00
|
|
|
import { setupSentry } from '@/utility/Sentry';
|
2021-04-24 12:18:56 +02:00
|
|
|
import { enableScreens } from 'react-native-screens';
|
2023-06-19 22:26:41 +02:00
|
|
|
import { patchTrackPlayer } from '@/utility/AddedTrackEvents';
|
2020-06-16 17:51:51 +02:00
|
|
|
|
2021-02-13 15:34:43 +01:00
|
|
|
setupSentry();
|
2021-04-24 12:18:56 +02:00
|
|
|
enableScreens();
|
2021-12-31 15:04:37 +01:00
|
|
|
patchTrackPlayer();
|
2020-06-16 17:51:51 +02:00
|
|
|
AppRegistry.registerComponent(appName, () => App);
|
2020-06-16 21:41:02 +02:00
|
|
|
TrackPlayer.registerPlaybackService(() => PlaybackService);
|