react-native 0.84.0-nightly-20251206-63b0aef13 → 0.84.0-nightly-20251207-e4a5a56df

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
29
29
  static major: number = 0;
30
30
  static minor: number = 84;
31
31
  static patch: number = 0;
32
- static prerelease: string | null = 'nightly-20251206-63b0aef13';
32
+ static prerelease: string | null = 'nightly-20251207-e4a5a56df';
33
33
 
34
34
  static getVersionString(): string {
35
35
  return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(84),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"nightly-20251206-63b0aef13",
27
+ RCTVersionPrerelease: @"nightly-20251207-e4a5a56df",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.84.0-nightly-20251206-63b0aef13
1
+ VERSION_NAME=0.84.0-nightly-20251207-e4a5a56df
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
  react.internal.hermesPublishingGroup=com.facebook.hermes
4
4
 
@@ -92,17 +92,21 @@ internal class FrameTimingsObserver(
92
92
  if (copyResult == PixelCopy.SUCCESS) {
93
93
  CoroutineScope(Dispatchers.Default).launch {
94
94
  try {
95
- val scaleFactor = 0.5f
95
+ val scaleFactor = 0.25f
96
96
  val scaledWidth = (width * scaleFactor).toInt()
97
97
  val scaledHeight = (height * scaleFactor).toInt()
98
98
  val scaledBitmap =
99
99
  Bitmap.createScaledBitmap(bitmap, scaledWidth, scaledHeight, true)
100
100
 
101
101
  val outputStream = ByteArrayOutputStream()
102
- scaledBitmap.compress(Bitmap.CompressFormat.JPEG, 80, outputStream)
103
- val jpegBytes = outputStream.toByteArray()
104
- val jpegBase64 = Base64.encodeToString(jpegBytes, Base64.NO_WRAP)
105
- continuation.resume(jpegBase64)
102
+ val compressFormat =
103
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R)
104
+ Bitmap.CompressFormat.WEBP_LOSSY
105
+ else Bitmap.CompressFormat.WEBP
106
+ scaledBitmap.compress(compressFormat, 0, outputStream)
107
+ val bytes = outputStream.toByteArray()
108
+ val base64 = Base64.encodeToString(bytes, Base64.NO_WRAP)
109
+ continuation.resume(base64)
106
110
 
107
111
  scaledBitmap.recycle()
108
112
  } catch (e: Exception) {
@@ -15,6 +15,6 @@ public object ReactNativeVersion {
15
15
  "major" to 0,
16
16
  "minor" to 84,
17
17
  "patch" to 0,
18
- "prerelease" to "nightly-20251206-63b0aef13"
18
+ "prerelease" to "nightly-20251207-e4a5a56df"
19
19
  )
20
20
  }
@@ -22,7 +22,7 @@ constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 84;
24
24
  int32_t Patch = 0;
25
- std::string_view Prerelease = "nightly-20251206-63b0aef13";
25
+ std::string_view Prerelease = "nightly-20251207-e4a5a56df";
26
26
  } ReactNativeVersion;
27
27
 
28
28
  } // namespace facebook::react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.84.0-nightly-20251206-63b0aef13",
3
+ "version": "0.84.0-nightly-20251207-e4a5a56df",
4
4
  "description": "A framework for building native apps using React",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -160,13 +160,13 @@
160
160
  },
161
161
  "dependencies": {
162
162
  "@jest/create-cache-key-function": "^29.7.0",
163
- "@react-native/assets-registry": "0.84.0-nightly-20251206-63b0aef13",
164
- "@react-native/codegen": "0.84.0-nightly-20251206-63b0aef13",
165
- "@react-native/community-cli-plugin": "0.84.0-nightly-20251206-63b0aef13",
166
- "@react-native/gradle-plugin": "0.84.0-nightly-20251206-63b0aef13",
167
- "@react-native/js-polyfills": "0.84.0-nightly-20251206-63b0aef13",
168
- "@react-native/normalize-colors": "0.84.0-nightly-20251206-63b0aef13",
169
- "@react-native/virtualized-lists": "0.84.0-nightly-20251206-63b0aef13",
163
+ "@react-native/assets-registry": "0.84.0-nightly-20251207-e4a5a56df",
164
+ "@react-native/codegen": "0.84.0-nightly-20251207-e4a5a56df",
165
+ "@react-native/community-cli-plugin": "0.84.0-nightly-20251207-e4a5a56df",
166
+ "@react-native/gradle-plugin": "0.84.0-nightly-20251207-e4a5a56df",
167
+ "@react-native/js-polyfills": "0.84.0-nightly-20251207-e4a5a56df",
168
+ "@react-native/normalize-colors": "0.84.0-nightly-20251207-e4a5a56df",
169
+ "@react-native/virtualized-lists": "0.84.0-nightly-20251207-e4a5a56df",
170
170
  "abort-controller": "^3.0.0",
171
171
  "anser": "^1.4.9",
172
172
  "ansi-regex": "^5.0.0",