diff --git a/src/components/UserFeedbackModal.tsx b/src/components/UserFeedbackModal.tsx index 654cacc..e4d0cee 100644 --- a/src/components/UserFeedbackModal.tsx +++ b/src/components/UserFeedbackModal.tsx @@ -44,8 +44,12 @@ export const SentryUserFeedbackActionButton = () => { <> {feedbackState.isActionButtonVisible && ( - - Report a Bug + + + + + Report a Bug + )} {isFormVisible && ( diff --git a/src/screens/ListApp.tsx b/src/screens/ListApp.tsx index b04d9e8..a3abb96 100644 --- a/src/screens/ListApp.tsx +++ b/src/screens/ListApp.tsx @@ -158,42 +158,54 @@ const ListApp = (props: Props) => { onPress={() => { Sentry.captureMessage('Test Message'); }}> - Capture Message + + Capture Message + { Sentry.captureException(new Error('Test Error')); }}> - Capture Exception + + Capture Exception + { throw new Error('Thrown Error'); }}> - Uncaught Thrown Error + + Uncaught Thrown Error + { Promise.reject(new Error('Unhandled Promise Rejection')); }}> - Unhandled Promise Rejection + + Unhandled Promise Rejection + { Sentry.nativeCrash(); }}> - Native Crash + + Native Crash + { setScopeProps(); }}> - Set Scope Properties + + Set Scope Properties + { onPress={() => { setShowBadCode(true); }}> - - Activate Error Boundary {showBadCode &&
} - + + + Activate Error Boundary {showBadCode &&
} + + @@ -215,14 +229,18 @@ const ListApp = (props: Props) => { onPress={() => { props.navigation.navigate('Tracker'); }}> - Auto Tracing Example + + Auto Tracing Example + { props.navigation.navigate('ManualTracker'); }}> - Manual Tracing Example + + Manual Tracing Example + { }), ); }}> - Performance Timing + + Performance Timing + { props.navigation.navigate('Redux'); }}> - Redux Example + + Redux Example +