Skip to content

Commit 7131551

Browse files
committed
chore: updated template packages
1 parent 5ef75f9 commit 7131551

File tree

7 files changed

+11
-3
lines changed

7 files changed

+11
-3
lines changed

.DS_Store

0 Bytes
Binary file not shown.

template/App.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,16 @@ FileLogger.configure({
2525
log({ ENV, SENTRY_DSN, ONESIGNAL_ANDROID_KEY });
2626

2727
if (typeof SENTRY_DSN === 'string' && SENTRY_DSN.length > 0) {
28+
const routingInstrumentation = new Sentry.ReactNavigationV5Instrumentation();
29+
2830
Sentry.init({
2931
dsn: SENTRY_DSN,
32+
integrations: [
33+
new Sentry.ReactNativeTracing({
34+
routingInstrumentation,
35+
// ... other options
36+
}),
37+
],
3038
});
3139
}
3240
const queryClient = new QueryClient();

template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@react-navigation/native": "^5.9.3",
3131
"@react-navigation/stack": "^5.14.3",
3232
"@reduxjs/toolkit": "^1.5.1",
33-
"@sentry/react-native": "^2.2.2",
33+
"@sentry/react-native": "^2.4.3",
3434
"axios": "^0.21.1",
3535
"code-push": "4.0.2",
3636
"i18next": "^20.2.2",
File renamed without changes.

template/src/screens/Home.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ const HomeScreen = () => {
143143
<LottieView
144144
source={require('../../assets/spinner.json')}
145145
autoPlay
146-
hardwareAccelerationAndroid
147146
loop
147+
hardwareAccelerationAndroid={false}
148148
style={{
149149
height: 60,
150150
width: 60,
@@ -206,8 +206,8 @@ const HomeScreen = () => {
206206
<LottieView
207207
source={require('../../assets/spinner.json')}
208208
autoPlay
209-
hardwareAccelerationAndroid
210209
loop
210+
hardwareAccelerationAndroid={false}
211211
resizeMode="contain"
212212
style={{
213213
height: 30,

0 commit comments

Comments
 (0)