Increase trace screenshot scale factor to 1x (#56136)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56136

Following D97131485, brings iOS screenshot recording to parity with Android.

NOTE: Dynamic frame sampling (D97131485) becomes more load bearing after this change, as a 1x scale increases processing overhead significantly. Let's continue dogfooding.

Changelog: [Internal]

Reviewed By: rubennorte

Differential Revision: D97131484

fbshipit-source-id: 4c03842ae22b905a50f989ff68fece7acc289a67
This commit is contained in:
Alex Hunt authored and meta-codesync[bot] committed 2026-03-19 04:57:29 -07:00
1 parent e0d1e29d26
commit 90e02fa255
1 file changed
+1 -1
@@ -22,7 +22,7 @@
using namespace facebook::react;
static constexpr CGFloat kScreenshotScaleFactor = 0.75;
static constexpr CGFloat kScreenshotScaleFactor = 1.0;
static constexpr CGFloat kScreenshotJPEGQuality = 0.8;
namespace {