forked from MyTaskly/app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
23 lines (18 loc) · 727 Bytes
/
index.tsx
File metadata and controls
23 lines (18 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import "./gesture-handler";
import "@expo/metro-runtime";
import { registerRootComponent } from "expo";
import "fast-text-encoding";
import TrackPlayer from "react-native-track-player";
import { PlaybackService } from "./src/services/PlaybackService";
// Importa Insights
import * as Insights from 'expo-insights';
// Importa il tuo App component
import App from "./src/navigation";
// Opzionale: puoi aggiungere logica condizionale se vuoi
// che Insights tracci solo in produzione (build EAS)
// if (!__DEV__) {
// // Configurazione extra se necessaria in futuro
// }
registerRootComponent(App);
// Registra il playback service per react-native-track-player
TrackPlayer.registerPlaybackService(() => PlaybackService);