Skip to content

Commit 9394862

Browse files
committed
purge sentry + finally fixed
1 parent 41c8132 commit 9394862

File tree

7 files changed

+13782
-28339
lines changed

7 files changed

+13782
-28339
lines changed

App.jsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import CreateAccount from './screens/CreateAccount';
77
import ScoutingPage from './screens/ScoutingPage';
88
import DataPage from './screens/DataPage';
99
import ManageAccount from './screens/ManageAccount';
10-
// import Tutorial from './screens/Tutorial';
1110
import {NavigationContainer} from '@react-navigation/native';
1211
import {createMaterialTopTabNavigator} from '@react-navigation/material-top-tabs';
1312
import {StyleSheet, StatusBar, AppState} from 'react-native';
@@ -23,22 +22,9 @@ import {
2322
RequestNotifications,
2423
} from './permissions/RequestPermissions';
2524
import DeviceInfo from 'react-native-device-info';
26-
// import * as Sentry from '@sentry/react-native';
2725
import {supabase} from "./supabase";
2826
import { 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.
4228
AppState.addEventListener('change', (state) => {
4329
if (state === 'active') {
4430
supabase.auth.startAutoRefresh()

android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def enableProguardInReleaseBuilds = false
7373
*/
7474
def jscFlavor = 'org.webkit:android-jsc:+'
7575

76-
apply from: new File(["node", "--print", "require.resolve('@sentry/react-native/package.json')"].execute().text.trim(), "../sentry.gradle")
7776
android {
7877
ndkVersion rootProject.ext.ndkVersion
7978

ios/Podfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ end
1717

1818
node_require('react-native/scripts/react_native_pods.rb')
1919
node_require('react-native-permissions/scripts/setup.rb')
20-
2120
platform :ios, '13.0'
2221
prepare_react_native_project!
2322

@@ -55,7 +54,7 @@ setup_permissions([
5554
# dependencies: {
5655
# ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
5756
# ```
58-
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
57+
flipper_config = FlipperConfiguration.disabled
5958

6059
linkage = ENV['USE_FRAMEWORKS']
6160
if linkage != nil
@@ -84,15 +83,9 @@ target 'ReactNative_ScoutApp2023' do
8483

8584
use_react_native!(
8685
:path => config[:reactNativePath],
87-
# Hermes is now enabled by default. Disable by setting this flag to false.
8886
:hermes_enabled => flags[:hermes_enabled],
8987
:fabric_enabled => flags[:fabric_enabled],
90-
# Enables Flipper.
91-
#
92-
# Note that if you have use_frameworks! enabled, Flipper will not work and
93-
# you should disable the next line.
9488
:flipper_configuration => flipper_config,
95-
# An absolute path to your application root.
9689
:app_path => "#{Pod::Config.instance.installation_root}/.."
9790
)
9891

0 commit comments

Comments
 (0)