mirror of
https://github.com/Jellify-Music/App.git
synced 2025-12-20 10:10:08 -06:00
Moves the network status state to a Zustand Store for better reusability and to reduce the complexity of the network context No new user facing changes
19 lines
707 B
JavaScript
19 lines
707 B
JavaScript
import 'react-native-gesture-handler'
|
|
// Initialize console override early - disable all console methods in production
|
|
import './src/utils/console-override'
|
|
import { AppRegistry } from 'react-native'
|
|
import App from './App'
|
|
import { name as appName } from './app.json'
|
|
import { PlaybackService } from './src/player/service'
|
|
import TrackPlayer from 'react-native-track-player'
|
|
import { enableFreeze, enableScreens } from 'react-native-screens'
|
|
|
|
enableScreens(true)
|
|
enableFreeze(true)
|
|
|
|
AppRegistry.registerComponent(appName, () => App)
|
|
AppRegistry.registerComponent('RNCarPlayScene', () => App)
|
|
|
|
// Register RNTP playback service for remote controls
|
|
TrackPlayer.registerPlaybackService(() => PlaybackService)
|