Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replay - iOS Text is visible #4397

Open
LukaszK88 opened this issue Dec 20, 2024 · 1 comment
Open

Replay - iOS Text is visible #4397

LukaszK88 opened this issue Dec 20, 2024 · 1 comment

Comments

@LukaszK88
Copy link

What React Native libraries do you use?

Expo (mobile only), Expo Router, React Navigation, Hermes

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

6.1.0

How does your development environment look like?

System:
OS: macOS 14.4
CPU: (12) arm64 Apple M3 Pro
Memory: 34.80 MB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.17.0
path: ~/.nvm/versions/node/v20.17.0/bin/node
Yarn: Not Found
npm:
version: 10.8.2
path: ~/.nvm/versions/node/v20.17.0/bin/npm
Watchman:
version: 2024.10.21.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/lukaskowal/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12169540
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.12
path: /Users/lukaskowal/.sdkman/candidates/java/current/bin/javac
Ruby:
version: 3.0.2
path: /Users/lukaskowal/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.1.3
wanted: latest
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.3
wanted: 0.76.3
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

Sentry.init()

Sentry.init({
dsn: "xxxxx",
enabled: !DEV,
tracesSampleRate: isNonProdEnv ? 1 : 0.3,
integrations: [
Sentry.reactNativeTracingIntegration(),
navigationIntegration,
Sentry.mobileReplayIntegration(),
],
_experiments: {
replaysSessionSampleRate: isNonProdEnv ? 1.0 : 0.3,
replaysOnErrorSampleRate: 1.0,
},
enableUserInteractionTracing: true,
enableNativeFramesTracking:
Constants.executionEnvironment === ExecutionEnvironment.StoreClient,
});

Steps to Reproduce

I have followed all the set up instructions for the Replay feature.
Videos for both platforms are uploaded to Sentry which is great.
I am facing issue where Android is obfuscated as expected but iOS text is visible.
The only obfuscated Text is screen header title.

Expected Result

I would expect both platforms to be obfuscated.

Actual Result

iOS is not obfuscated, I can see text.

@kahest
Copy link
Member

kahest commented Dec 20, 2024

Thanks for the report @LukaszK88 - we shipped a few improvements to redaction on the iOS SDK recently (which is used under the hood by the RN SDK), so newer versions of the RN SDK could already improve this. In any case we have more improvements coming in after the holidays.

If you get a chance to upgrade the SDK, feel free to comment if it fixed the issue or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Status: Needs Discussion
Development

No branches or pull requests

2 participants