@@ -7,7 +7,6 @@ import CreateAccount from './screens/CreateAccount';
77import ScoutingPage from './screens/ScoutingPage' ;
88import DataPage from './screens/DataPage' ;
99import ManageAccount from './screens/ManageAccount' ;
10- // import Tutorial from './screens/Tutorial';
1110import { NavigationContainer } from '@react-navigation/native' ;
1211import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs' ;
1312import { StyleSheet , StatusBar , AppState } from 'react-native' ;
@@ -23,22 +22,9 @@ import {
2322 RequestNotifications ,
2423} from './permissions/RequestPermissions' ;
2524import DeviceInfo from 'react-native-device-info' ;
26- // import * as Sentry from '@sentry/react-native';
2725import { supabase } from "./supabase" ;
2826import { createStackNavigator } from '@react-navigation/stack' ;
2927
30- // Sentry.init({
31- // dsn: 'https://08757a6e7744a5cd6a808c9c372f7ec8@o4506839099637760.ingest.us.sentry.io/4506839106060288',
32-
33- // // We recommend adjusting this value in production, or using tracesSampler
34- // // for finer control
35- // tracesSampleRate: 1.0,
36- // });
37-
38- // Tells Supabase Auth to continuously refresh the session automatically if
39- // the app is in the foreground. When this is added, you will continue to receive
40- // `onAuthStateChange` events with the `TOKEN_REFRESHED` or `SIGNED_OUT` event
41- // if the user's session is terminated. This should only be registered once.
4228AppState . addEventListener ( 'change' , ( state ) => {
4329 if ( state === 'active' ) {
4430 supabase . auth . startAutoRefresh ( )
0 commit comments