Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

```javascript
import * as Sentry from "@sentry/react-native";

Sentry.init({
dsn: "___PUBLIC_DSN___",
attachScreenshot: true,
});
```
7 changes: 7 additions & 0 deletions src/platforms/common/enriching-events/screenshots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ supported:
- dotnet.xamarin
- javascript.electron
- flutter
- react-native
notSupported:
- apple.macos
- apple.tvos
Expand All @@ -25,6 +26,12 @@ Screenshots may contain <PlatformLink to="/data-management/sensitive-data/">PII<

<PlatformContent includePath="enriching-events/attach-screenshots" />

<PlatformSection supported={["react-native"]}>

Screenshots are transfered from native SDKs to React Native over the Bridge. This can be a performance bottleneck on lower end devices. This happens only when capturing error event with the screenshots enabled. React Native New Architecture will improve the performance.

</PlatformSection>

## Viewing Screenshots

A thumbnail of the screenshot shows up at the top of the **Issue Details** page:
Expand Down