react-native 0.73.0-rc.8 → 0.73.1
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 +2 -2
- package/React/Base/RCTVersion.m +2 -2
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +2 -2
- package/ReactAndroid/src/main/jni/react/fabric/Binding.h +5 -1
- package/ReactAndroid/src/main/jni/react/fabric/JFabricUIManager.cpp +3 -2
- package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
- package/package.json +6 -6
- package/scripts/cocoapods/utils.rb +2 -1
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/package.json +1 -1
package/React/Base/RCTVersion.m
CHANGED
|
@@ -23,8 +23,8 @@ NSDictionary* RCTGetReactNativeVersion(void)
|
|
|
23
23
|
__rnVersion = @{
|
|
24
24
|
RCTVersionMajor: @(0),
|
|
25
25
|
RCTVersionMinor: @(73),
|
|
26
|
-
RCTVersionPatch: @(
|
|
27
|
-
RCTVersionPrerelease:
|
|
26
|
+
RCTVersionPatch: @(1),
|
|
27
|
+
RCTVersionPrerelease: [NSNull null],
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
return __rnVersion;
|
|
@@ -34,7 +34,11 @@ class ReactNativeConfig;
|
|
|
34
34
|
class Scheduler;
|
|
35
35
|
class SurfaceHandlerBinding;
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
struct JBinding : public jni::JavaClass<JBinding> {
|
|
38
|
+
constexpr static auto kJavaDescriptor = "Lcom/facebook/react/fabric/Binding;";
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
class Binding : public jni::HybridClass<Binding, JBinding>,
|
|
38
42
|
public SchedulerDelegate,
|
|
39
43
|
public LayoutAnimationStatusDelegate {
|
|
40
44
|
public:
|
|
@@ -13,8 +13,9 @@ namespace facebook::react {
|
|
|
13
13
|
|
|
14
14
|
Binding* JFabricUIManager::getBinding() {
|
|
15
15
|
static const auto bindingField =
|
|
16
|
-
javaClassStatic()->getField<
|
|
16
|
+
javaClassStatic()->getField<JBinding::javaobject>("mBinding");
|
|
17
17
|
|
|
18
|
-
return getFieldValue(bindingField)
|
|
18
|
+
return jni::static_ref_cast<Binding::javaobject>(getFieldValue(bindingField))
|
|
19
|
+
->cthis();
|
|
19
20
|
}
|
|
20
21
|
} // namespace facebook::react
|
|
@@ -17,8 +17,8 @@ namespace facebook::react {
|
|
|
17
17
|
constexpr struct {
|
|
18
18
|
int32_t Major = 0;
|
|
19
19
|
int32_t Minor = 73;
|
|
20
|
-
int32_t Patch =
|
|
21
|
-
std::string_view Prerelease = "
|
|
20
|
+
int32_t Patch = 1;
|
|
21
|
+
std::string_view Prerelease = "";
|
|
22
22
|
} ReactNativeVersion;
|
|
23
23
|
|
|
24
24
|
} // namespace facebook::react
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.73.
|
|
3
|
+
"version": "0.73.1",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -93,16 +93,16 @@
|
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@jest/create-cache-key-function": "^29.6.3",
|
|
96
|
-
"@react-native-community/cli": "12.
|
|
97
|
-
"@react-native-community/cli-platform-android": "12.
|
|
98
|
-
"@react-native-community/cli-platform-ios": "12.
|
|
96
|
+
"@react-native-community/cli": "12.3.0",
|
|
97
|
+
"@react-native-community/cli-platform-android": "12.3.0",
|
|
98
|
+
"@react-native-community/cli-platform-ios": "12.3.0",
|
|
99
99
|
"@react-native/assets-registry": "^0.73.1",
|
|
100
|
-
"@react-native/community-cli-plugin": "
|
|
100
|
+
"@react-native/community-cli-plugin": "0.73.11",
|
|
101
101
|
"@react-native/codegen": "^0.73.2",
|
|
102
102
|
"@react-native/gradle-plugin": "^0.73.4",
|
|
103
103
|
"@react-native/js-polyfills": "^0.73.1",
|
|
104
104
|
"@react-native/normalize-colors": "^0.73.2",
|
|
105
|
-
"@react-native/virtualized-lists": "^0.73.
|
|
105
|
+
"@react-native/virtualized-lists": "^0.73.4",
|
|
106
106
|
"abort-controller": "^3.0.0",
|
|
107
107
|
"anser": "^1.4.9",
|
|
108
108
|
"ansi-regex": "^5.0.0",
|
|
@@ -560,7 +560,8 @@ class ReactNativePodsUtils
|
|
|
560
560
|
"NSAppTransportSecurity" => ats_configs
|
|
561
561
|
}
|
|
562
562
|
else
|
|
563
|
-
plist["NSAppTransportSecurity"]
|
|
563
|
+
plist["NSAppTransportSecurity"] ||= {}
|
|
564
|
+
plist["NSAppTransportSecurity"] = plist["NSAppTransportSecurity"].merge(ats_configs)
|
|
564
565
|
end
|
|
565
566
|
Xcodeproj::Plist.write_to_path(plist, fullPlistPath)
|
|
566
567
|
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|