@@ -16,7 +16,7 @@ To upgrade from the SDK version 5, please follow our [migration guide](https://d
16
16
- React Native Tracing options were moved to the root options
17
17
18
18
``` js
19
- import Sentry from ' @sentry/react-native' ;
19
+ import * as Sentry from ' @sentry/react-native' ;
20
20
21
21
Sentry .init ({
22
22
tracesSampleRate: 1.0 ,
@@ -41,7 +41,7 @@ To upgrade from the SDK version 5, please follow our [migration guide](https://d
41
41
- New React Navigation Integration interface ([ #4003 ] ( https://github.com/getsentry/sentry-react-native/pull/4003 ) )
42
42
43
43
``` js
44
- import Sentry from ' @sentry/react-native' ;
44
+ import * as Sentry from ' @sentry/react-native' ;
45
45
import { NavigationContainer } from ' @react-navigation/native' ;
46
46
47
47
const reactNavigationIntegration = Sentry .reactNavigationIntegration ();
@@ -85,7 +85,7 @@ To upgrade from the SDK version 5, please follow our [migration guide](https://d
85
85
- New React Native Navigation Integration interface ([ #4003 ] ( https://github.com/getsentry/sentry-react-native/pull/4003 ) )
86
86
87
87
``` js
88
- import Sentry from ' @sentry/react-native' ;
88
+ import * as Sentry from ' @sentry/react-native' ;
89
89
import { Navigation } from ' react-native-navigation' ;
90
90
91
91
Sentry .init ({
@@ -266,7 +266,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
266
266
- React Native Tracing options were moved to the root options
267
267
268
268
``` js
269
- import Sentry from ' @sentry/react-native' ;
269
+ import * as Sentry from ' @sentry/react-native' ;
270
270
271
271
Sentry .init ({
272
272
tracesSampleRate: 1.0 ,
@@ -291,7 +291,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
291
291
- New React Navigation Integration interface ([ #4003 ] ( https://github.com/getsentry/sentry-react-native/pull/4003 ) )
292
292
293
293
``` js
294
- import Sentry from ' @sentry/react-native' ;
294
+ import * as Sentry from ' @sentry/react-native' ;
295
295
import { NavigationContainer } from ' @react-navigation/native' ;
296
296
297
297
const reactNavigationIntegration = Sentry .reactNavigationIntegration ();
@@ -335,7 +335,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
335
335
- New React Native Navigation Integration interface ([ #4003 ] ( https://github.com/getsentry/sentry-react-native/pull/4003 ) )
336
336
337
337
``` js
338
- import Sentry from ' @sentry/react-native' ;
338
+ import * as Sentry from ' @sentry/react-native' ;
339
339
import { Navigation } from ' react-native-navigation' ;
340
340
341
341
Sentry .init ({
@@ -413,7 +413,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
413
413
Standalone mode creates single root span (transaction) including only app start data.
414
414
415
415
``` js
416
- import Sentry from ' @sentry/react-native' ;
416
+ import * as Sentry from ' @sentry/react-native' ;
417
417
418
418
Sentry .init ({
419
419
tracesSampleRate: 1.0 ,
@@ -438,7 +438,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
438
438
- New React Navigation Integration interface ([ #4003 ] ( https://github.com/getsentry/sentry-react-native/pull/4003 ) )
439
439
440
440
``` js
441
- import Sentry from ' @sentry/react-native' ;
441
+ import * as Sentry from ' @sentry/react-native' ;
442
442
import { NavigationContainer } from ' @react-navigation/native' ;
443
443
444
444
const reactNavigationIntegration = Sentry .reactNavigationIntegration ();
@@ -462,7 +462,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
462
462
- New React Native Navigation Integration interface ([ #4003 ] ( https://github.com/getsentry/sentry-react-native/pull/4003 ) )
463
463
464
464
``` js
465
- import Sentry from ' @sentry/react-native' ;
465
+ import * as Sentry from ' @sentry/react-native' ;
466
466
import { Navigation } from ' react-native-navigation' ;
467
467
468
468
Sentry .init ({
0 commit comments