Files
jellyfin-audio-player/index.js

17 lines
548 B
JavaScript
Raw Normal View History

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';
2021-01-29 00:47:17 +01:00
import * as Sentry from '@sentry/react-native';
import { SENTRY_DSN } from '@env';
if (SENTRY_DSN) {
Sentry.init({
2021-02-07 23:06:34 +01:00
dsn: SENTRY_DSN
2021-01-29 00:47:17 +01:00
});
}
2020-06-16 17:51:51 +02:00
AppRegistry.registerComponent(appName, () => App);
2020-06-16 21:41:02 +02:00
TrackPlayer.registerPlaybackService(() => PlaybackService);