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.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingsObserver.kt +9 -5
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +8 -8
|
@@ -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-
|
|
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}` : ''}`;
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
|
|
|
24
24
|
RCTVersionMajor: @(0),
|
|
25
25
|
RCTVersionMinor: @(84),
|
|
26
26
|
RCTVersionPatch: @(0),
|
|
27
|
-
RCTVersionPrerelease: @"nightly-
|
|
27
|
+
RCTVersionPrerelease: @"nightly-20251207-e4a5a56df",
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
return __rnVersion;
|
package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingsObserver.kt
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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) {
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
164
|
-
"@react-native/codegen": "0.84.0-nightly-
|
|
165
|
-
"@react-native/community-cli-plugin": "0.84.0-nightly-
|
|
166
|
-
"@react-native/gradle-plugin": "0.84.0-nightly-
|
|
167
|
-
"@react-native/js-polyfills": "0.84.0-nightly-
|
|
168
|
-
"@react-native/normalize-colors": "0.84.0-nightly-
|
|
169
|
-
"@react-native/virtualized-lists": "0.84.0-nightly-
|
|
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",
|