getsentry / getsentry/sentry-react-native

Investigate performance issues with Session Replay on iOS

Open
#5,096 27 comments 6 reactions 0 assignees View on GitHub
Cocoa Improvement Replays State: Blocked
Dominant language
TypeScript
Stars
1.8k
Forks
366
Avg merge
1d 9h
Merged PRs (30d)
89

Description

### What React Native libraries do you use?

React Navigation, Hermes, Expo Application Services (EAS), Expo (mobile only)

### Are you using sentry.io or on-premise?

sentry.io (SaS)

### @sentry/react-native SDK Version

6.19.0

### How does your development environment look like?

````
System:
OS: macOS 14.7.1
CPU: (14) arm64 Apple M3 Max
Memory: 1.57 GB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.17.1
path: ~/.nvm/versions/node/v22.17.1/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.9.2
path: ~/.nvm/versions/node/v22.17.1/bin/npm
Watchman:
version: 2025.03.10.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.2
- iOS 18.2
- macOS 15.2
- tvOS 18.2
- visionOS 2.2
- watchOS 11.2
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12071903
Xcode:
version: 16.2/16C5032a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.12
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.2
wanted: 0.74.2
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: fals

````

### Sentry.init()

````js
Sentry.init({
dsn: 'https://...@sentry.io/...'
// other options
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0,
replaysSessionSampleRate: 1.0,
integrations: [
reactNativeTracingIntegration(),
mobileReplayIntegration({
maskAllText: false,
maskAllImages: false,
maskAllVectors: false,
enableViewRendererV2: true,
enableFastViewRendering: true,
}),
hermesProfilingIntegration(),
navigationIntegration,
],
enableAutoPerformanceTracing: true,
attachViewHierarchy: true,
attachScreenshot: true,
enableAppStartTracking: true,
enableNativeFramesTracking: true,
enableStallTracking: true,
enableUserInteractionTracing: true,
enabled: !__DEV__,
ignoreErrors: [/Amplitude Logger/i],
});
````

### Steps to Reproduce

Nothing much to reproduce it, just open the app and once you get replay on sentry dashboard they are all black for iOS

### Expected Result

an actual video of session replay on sentry dashboard

### Actual Result

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.