Skip to content

Commit cfe6912

Browse files
add latest RN sdk version
1 parent 268035b commit cfe6912

File tree

5 files changed

+29
-12
lines changed

5 files changed

+29
-12
lines changed

metro.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ const userConfig = {};
1111

1212
const config = mergeConfig(getDefaultConfig(__dirname), userConfig);
1313

14-
module.exports = withSentryConfig(config);
14+
module.exports = withSentryConfig(config, {
15+
annotateReactComponents: true,
16+
});

package-lock.json

+17-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@react-navigation/native": "^6.1.17",
1717
"@react-navigation/native-stack": "^6.9.26",
1818
"@react-navigation/stack": "^6.3.29",
19-
"@sentry/react-native": "5.25.0-alpha.2",
19+
"@sentry/react-native": "5.26.0",
2020
"promise": "^8.3.0",
2121
"react": "18.2.0",
2222
"react-native": "0.74.1",
@@ -25,7 +25,7 @@
2525
"react-native-linear-gradient": "^2.8.2",
2626
"react-native-safe-area-context": "^4.8.2",
2727
"react-native-screens": "^3.31.0",
28-
"react-native-toast-message": "^2.1.6",
28+
"react-native-toast-message": "^2.2.0",
2929
"react-native-vector-icons": "^10.1.0",
3030
"react-redux": "^8.1.2",
3131
"redux": "^4.2.1"

src/App.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ Sentry.init({
9191
enableSpotlight: true,
9292
_experiments: {
9393
profilesSampleRate: 1.0,
94+
replaysOnErrorSampleRate: 1.0,
95+
replaysSessionSampleRate: 1.0,
9496
},
9597
});
9698

@@ -127,7 +129,7 @@ const App = () => {
127129
);
128130
}}>
129131
<BottomTabNavigator />
130-
<Toast />
132+
{/* <Toast /> */}
131133
</NavigationContainer>
132134
</GestureHandlerRootView>
133135
</SafeAreaProvider>

src/config.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
export const DSN =
22
'https://[email protected]/5716557';
33

4+
// SENTRY_INTERNAL_DSN for testing
5+
// export const DSN =
6+
// 'https://[email protected]/5428561';
7+
48
export const BACKEND_URL =
59
'https://application-monitoring-flask-dot-sales-engineering-sf.appspot.com';
610
// 'http://127.0.0.1:8080'; // for local flask backend

0 commit comments

Comments
 (0)