react-native 0.84.0-nightly-20251202-b0e754bc7 → 0.84.0-nightly-20251204-5bb3a6d68
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/Animated/animations/Animation.js +1 -2
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +186 -194
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingSequence.kt +1 -0
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +1 -7
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +1 -11
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +1 -12
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +1 -3
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +0 -8
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +1 -15
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +1 -4
- package/ReactAndroid/src/main/jni/react/runtime/jni/JReactHostInspectorTarget.cpp +1 -0
- package/ReactAndroid/src/main/jni/react/runtime/jni/JReactHostInspectorTarget.h +11 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/jsi/jsi/jsi.cpp +4 -0
- package/ReactCommon/jsi/jsi/jsi.h +66 -0
- package/ReactCommon/jsinspector-modern/tests/TracingTest.cpp +18 -0
- package/ReactCommon/jsinspector-modern/tracing/FrameTimingSequence.h +13 -4
- package/ReactCommon/jsinspector-modern/tracing/HostTracingProfileSerializer.cpp +14 -1
- package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.cpp +24 -0
- package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.h +13 -1
- package/ReactCommon/jsinspector-modern/tracing/TracingCategory.h +1 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +1 -5
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +1 -6
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +87 -105
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +2 -4
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +1 -5
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +1 -10
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +1 -2
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +1 -6
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +1 -3
- package/ReactCommon/react/renderer/animated/NativeAnimatedNodesManager.cpp +2 -6
- package/ReactCommon/react/renderer/animationbackend/AnimatedPropSerializer.cpp +130 -0
- package/ReactCommon/react/renderer/animationbackend/AnimatedProps.h +5 -1
- package/ReactCommon/react/renderer/animationbackend/AnimatedPropsBuilder.h +4 -0
- package/ReactCommon/react/renderer/animationbackend/AnimatedPropsSerializer.h +17 -0
- package/ReactCommon/react/renderer/animationbackend/AnimationBackend.cpp +6 -22
- package/ReactCommon/react/runtime/ReactInstance.cpp +1 -1
- package/package.json +10 -10
- package/scripts/codegen/generate-artifacts-executor/generateSchemaInfos.js +7 -6
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/private/animated/createAnimatedPropsHook.js +1 -2
- package/src/private/featureflags/ReactNativeFeatureFlags.js +1 -6
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +1 -2
- /package/ReactCommon/jsi/jsi/{hermes.h → hermes-interfaces.h} +0 -0
|
@@ -151,8 +151,7 @@ export default class Animation {
|
|
|
151
151
|
animatedValue.__onAnimatedValueUpdateReceived(value, offset);
|
|
152
152
|
|
|
153
153
|
const isJsSyncRemoved =
|
|
154
|
-
ReactNativeFeatureFlags.cxxNativeAnimatedEnabled()
|
|
155
|
-
ReactNativeFeatureFlags.cxxNativeAnimatedRemoveJsSync();
|
|
154
|
+
ReactNativeFeatureFlags.cxxNativeAnimatedEnabled();
|
|
156
155
|
if (!isJsSyncRemoved) {
|
|
157
156
|
if (this.__isLooping === true) {
|
|
158
157
|
return;
|
|
@@ -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-20251204-5bb3a6d68';
|
|
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-20251204-5bb3a6d68",
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
return __rnVersion;
|
|
@@ -227,7 +227,6 @@ protected:
|
|
|
227
227
|
methodMap_["commonTestFlagWithoutNativeImplementation"] = MethodMetadata {.argCount = 0, .invoker = __commonTestFlagWithoutNativeImplementation};
|
|
228
228
|
methodMap_["cdpInteractionMetricsEnabled"] = MethodMetadata {.argCount = 0, .invoker = __cdpInteractionMetricsEnabled};
|
|
229
229
|
methodMap_["cxxNativeAnimatedEnabled"] = MethodMetadata {.argCount = 0, .invoker = __cxxNativeAnimatedEnabled};
|
|
230
|
-
methodMap_["cxxNativeAnimatedRemoveJsSync"] = MethodMetadata {.argCount = 0, .invoker = __cxxNativeAnimatedRemoveJsSync};
|
|
231
230
|
methodMap_["disableEarlyViewCommandExecution"] = MethodMetadata {.argCount = 0, .invoker = __disableEarlyViewCommandExecution};
|
|
232
231
|
methodMap_["disableImageViewPreallocationAndroid"] = MethodMetadata {.argCount = 0, .invoker = __disableImageViewPreallocationAndroid};
|
|
233
232
|
methodMap_["disableMountItemReorderingAndroid"] = MethodMetadata {.argCount = 0, .invoker = __disableMountItemReorderingAndroid};
|
|
@@ -345,13 +344,6 @@ private:
|
|
|
345
344
|
return bridging::callFromJs<bool>(rt, &T::cxxNativeAnimatedEnabled, static_cast<NativeReactNativeFeatureFlagsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
|
|
346
345
|
}
|
|
347
346
|
|
|
348
|
-
static jsi::Value __cxxNativeAnimatedRemoveJsSync(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
349
|
-
static_assert(
|
|
350
|
-
bridging::getParameterCount(&T::cxxNativeAnimatedRemoveJsSync) == 1,
|
|
351
|
-
"Expected cxxNativeAnimatedRemoveJsSync(...) to have 1 parameters");
|
|
352
|
-
return bridging::callFromJs<bool>(rt, &T::cxxNativeAnimatedRemoveJsSync, static_cast<NativeReactNativeFeatureFlagsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
|
|
353
|
-
}
|
|
354
|
-
|
|
355
347
|
static jsi::Value __disableEarlyViewCommandExecution(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
356
348
|
static_assert(
|
|
357
349
|
bridging::getParameterCount(&T::disableEarlyViewCommandExecution) == 1,
|
|
@@ -2054,53 +2046,6 @@ private:
|
|
|
2054
2046
|
};
|
|
2055
2047
|
|
|
2056
2048
|
|
|
2057
|
-
template <typename T>
|
|
2058
|
-
class JSI_EXPORT NativeAppearanceCxxSpec : public TurboModule {
|
|
2059
|
-
public:
|
|
2060
|
-
static constexpr std::string_view kModuleName = "Appearance";
|
|
2061
|
-
|
|
2062
|
-
protected:
|
|
2063
|
-
NativeAppearanceCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeAppearanceCxxSpec::kModuleName}, jsInvoker) {
|
|
2064
|
-
methodMap_["getColorScheme"] = MethodMetadata {.argCount = 0, .invoker = __getColorScheme};
|
|
2065
|
-
methodMap_["setColorScheme"] = MethodMetadata {.argCount = 1, .invoker = __setColorScheme};
|
|
2066
|
-
methodMap_["addListener"] = MethodMetadata {.argCount = 1, .invoker = __addListener};
|
|
2067
|
-
methodMap_["removeListeners"] = MethodMetadata {.argCount = 1, .invoker = __removeListeners};
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
private:
|
|
2071
|
-
static jsi::Value __getColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2072
|
-
static_assert(
|
|
2073
|
-
bridging::getParameterCount(&T::getColorScheme) == 1,
|
|
2074
|
-
"Expected getColorScheme(...) to have 1 parameters");
|
|
2075
|
-
auto result = bridging::callFromJs<std::optional<jsi::String>>(rt, &T::getColorScheme, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
2076
|
-
}
|
|
2077
|
-
|
|
2078
|
-
static jsi::Value __setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2079
|
-
static_assert(
|
|
2080
|
-
bridging::getParameterCount(&T::setColorScheme) == 2,
|
|
2081
|
-
"Expected setColorScheme(...) to have 2 parameters");
|
|
2082
|
-
bridging::callFromJs<void>(rt, &T::setColorScheme, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2083
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2084
|
-
}
|
|
2085
|
-
|
|
2086
|
-
static jsi::Value __addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2087
|
-
static_assert(
|
|
2088
|
-
bridging::getParameterCount(&T::addListener) == 2,
|
|
2089
|
-
"Expected addListener(...) to have 2 parameters");
|
|
2090
|
-
bridging::callFromJs<void>(rt, &T::addListener, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2091
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
static jsi::Value __removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2095
|
-
static_assert(
|
|
2096
|
-
bridging::getParameterCount(&T::removeListeners) == 2,
|
|
2097
|
-
"Expected removeListeners(...) to have 2 parameters");
|
|
2098
|
-
bridging::callFromJs<void>(rt, &T::removeListeners, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2099
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber());return jsi::Value::undefined();
|
|
2100
|
-
}
|
|
2101
|
-
};
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
2049
|
#pragma mark - NativeAppStateAppState
|
|
2105
2050
|
|
|
2106
2051
|
template <typename P0>
|
|
@@ -2230,6 +2175,53 @@ private:
|
|
|
2230
2175
|
};
|
|
2231
2176
|
|
|
2232
2177
|
|
|
2178
|
+
template <typename T>
|
|
2179
|
+
class JSI_EXPORT NativeAppearanceCxxSpec : public TurboModule {
|
|
2180
|
+
public:
|
|
2181
|
+
static constexpr std::string_view kModuleName = "Appearance";
|
|
2182
|
+
|
|
2183
|
+
protected:
|
|
2184
|
+
NativeAppearanceCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeAppearanceCxxSpec::kModuleName}, jsInvoker) {
|
|
2185
|
+
methodMap_["getColorScheme"] = MethodMetadata {.argCount = 0, .invoker = __getColorScheme};
|
|
2186
|
+
methodMap_["setColorScheme"] = MethodMetadata {.argCount = 1, .invoker = __setColorScheme};
|
|
2187
|
+
methodMap_["addListener"] = MethodMetadata {.argCount = 1, .invoker = __addListener};
|
|
2188
|
+
methodMap_["removeListeners"] = MethodMetadata {.argCount = 1, .invoker = __removeListeners};
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
private:
|
|
2192
|
+
static jsi::Value __getColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2193
|
+
static_assert(
|
|
2194
|
+
bridging::getParameterCount(&T::getColorScheme) == 1,
|
|
2195
|
+
"Expected getColorScheme(...) to have 1 parameters");
|
|
2196
|
+
auto result = bridging::callFromJs<std::optional<jsi::String>>(rt, &T::getColorScheme, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
static jsi::Value __setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2200
|
+
static_assert(
|
|
2201
|
+
bridging::getParameterCount(&T::setColorScheme) == 2,
|
|
2202
|
+
"Expected setColorScheme(...) to have 2 parameters");
|
|
2203
|
+
bridging::callFromJs<void>(rt, &T::setColorScheme, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2204
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
static jsi::Value __addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2208
|
+
static_assert(
|
|
2209
|
+
bridging::getParameterCount(&T::addListener) == 2,
|
|
2210
|
+
"Expected addListener(...) to have 2 parameters");
|
|
2211
|
+
bridging::callFromJs<void>(rt, &T::addListener, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2212
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2213
|
+
}
|
|
2214
|
+
|
|
2215
|
+
static jsi::Value __removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2216
|
+
static_assert(
|
|
2217
|
+
bridging::getParameterCount(&T::removeListeners) == 2,
|
|
2218
|
+
"Expected removeListeners(...) to have 2 parameters");
|
|
2219
|
+
bridging::callFromJs<void>(rt, &T::removeListeners, static_cast<NativeAppearanceCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2220
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber());return jsi::Value::undefined();
|
|
2221
|
+
}
|
|
2222
|
+
};
|
|
2223
|
+
|
|
2224
|
+
|
|
2233
2225
|
#pragma mark - NativeBlobModuleConstants
|
|
2234
2226
|
|
|
2235
2227
|
template <typename P0, typename P1>
|
|
@@ -2388,6 +2380,145 @@ private:
|
|
|
2388
2380
|
};
|
|
2389
2381
|
|
|
2390
2382
|
|
|
2383
|
+
template <typename T>
|
|
2384
|
+
class JSI_EXPORT NativeDevLoadingViewCxxSpec : public TurboModule {
|
|
2385
|
+
public:
|
|
2386
|
+
static constexpr std::string_view kModuleName = "DevLoadingView";
|
|
2387
|
+
|
|
2388
|
+
protected:
|
|
2389
|
+
NativeDevLoadingViewCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeDevLoadingViewCxxSpec::kModuleName}, jsInvoker) {
|
|
2390
|
+
methodMap_["showMessage"] = MethodMetadata {.argCount = 4, .invoker = __showMessage};
|
|
2391
|
+
methodMap_["hide"] = MethodMetadata {.argCount = 0, .invoker = __hide};
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
private:
|
|
2395
|
+
static jsi::Value __showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2396
|
+
static_assert(
|
|
2397
|
+
bridging::getParameterCount(&T::showMessage) == 5,
|
|
2398
|
+
"Expected showMessage(...) to have 5 parameters");
|
|
2399
|
+
bridging::callFromJs<void>(rt, &T::showMessage, static_cast<NativeDevLoadingViewCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2400
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
2401
|
+
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
2402
|
+
count <= 2 || args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber()),
|
|
2403
|
+
count <= 3 || args[3].isNull() || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asBool()));return jsi::Value::undefined();
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
static jsi::Value __hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2407
|
+
static_assert(
|
|
2408
|
+
bridging::getParameterCount(&T::hide) == 1,
|
|
2409
|
+
"Expected hide(...) to have 1 parameters");
|
|
2410
|
+
bridging::callFromJs<void>(rt, &T::hide, static_cast<NativeDevLoadingViewCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2411
|
+
}
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
template <typename T>
|
|
2416
|
+
class JSI_EXPORT NativeDevSettingsCxxSpec : public TurboModule {
|
|
2417
|
+
public:
|
|
2418
|
+
static constexpr std::string_view kModuleName = "DevSettings";
|
|
2419
|
+
|
|
2420
|
+
protected:
|
|
2421
|
+
NativeDevSettingsCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeDevSettingsCxxSpec::kModuleName}, jsInvoker) {
|
|
2422
|
+
methodMap_["reload"] = MethodMetadata {.argCount = 0, .invoker = __reload};
|
|
2423
|
+
methodMap_["reloadWithReason"] = MethodMetadata {.argCount = 1, .invoker = __reloadWithReason};
|
|
2424
|
+
methodMap_["onFastRefresh"] = MethodMetadata {.argCount = 0, .invoker = __onFastRefresh};
|
|
2425
|
+
methodMap_["setHotLoadingEnabled"] = MethodMetadata {.argCount = 1, .invoker = __setHotLoadingEnabled};
|
|
2426
|
+
methodMap_["setProfilingEnabled"] = MethodMetadata {.argCount = 1, .invoker = __setProfilingEnabled};
|
|
2427
|
+
methodMap_["toggleElementInspector"] = MethodMetadata {.argCount = 0, .invoker = __toggleElementInspector};
|
|
2428
|
+
methodMap_["addMenuItem"] = MethodMetadata {.argCount = 1, .invoker = __addMenuItem};
|
|
2429
|
+
methodMap_["openDebugger"] = MethodMetadata {.argCount = 0, .invoker = __openDebugger};
|
|
2430
|
+
methodMap_["addListener"] = MethodMetadata {.argCount = 1, .invoker = __addListener};
|
|
2431
|
+
methodMap_["removeListeners"] = MethodMetadata {.argCount = 1, .invoker = __removeListeners};
|
|
2432
|
+
methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {.argCount = 1, .invoker = __setIsShakeToShowDevMenuEnabled};
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
private:
|
|
2436
|
+
static jsi::Value __reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2437
|
+
static_assert(
|
|
2438
|
+
bridging::getParameterCount(&T::reload) == 1,
|
|
2439
|
+
"Expected reload(...) to have 1 parameters");
|
|
2440
|
+
bridging::callFromJs<void>(rt, &T::reload, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
static jsi::Value __reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2444
|
+
static_assert(
|
|
2445
|
+
bridging::getParameterCount(&T::reloadWithReason) == 2,
|
|
2446
|
+
"Expected reloadWithReason(...) to have 2 parameters");
|
|
2447
|
+
bridging::callFromJs<void>(rt, &T::reloadWithReason, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2448
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
static jsi::Value __onFastRefresh(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2452
|
+
static_assert(
|
|
2453
|
+
bridging::getParameterCount(&T::onFastRefresh) == 1,
|
|
2454
|
+
"Expected onFastRefresh(...) to have 1 parameters");
|
|
2455
|
+
bridging::callFromJs<void>(rt, &T::onFastRefresh, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
static jsi::Value __setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2459
|
+
static_assert(
|
|
2460
|
+
bridging::getParameterCount(&T::setHotLoadingEnabled) == 2,
|
|
2461
|
+
"Expected setHotLoadingEnabled(...) to have 2 parameters");
|
|
2462
|
+
bridging::callFromJs<void>(rt, &T::setHotLoadingEnabled, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2463
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool());return jsi::Value::undefined();
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
static jsi::Value __setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2467
|
+
static_assert(
|
|
2468
|
+
bridging::getParameterCount(&T::setProfilingEnabled) == 2,
|
|
2469
|
+
"Expected setProfilingEnabled(...) to have 2 parameters");
|
|
2470
|
+
bridging::callFromJs<void>(rt, &T::setProfilingEnabled, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2471
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool());return jsi::Value::undefined();
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
static jsi::Value __toggleElementInspector(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2475
|
+
static_assert(
|
|
2476
|
+
bridging::getParameterCount(&T::toggleElementInspector) == 1,
|
|
2477
|
+
"Expected toggleElementInspector(...) to have 1 parameters");
|
|
2478
|
+
bridging::callFromJs<void>(rt, &T::toggleElementInspector, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
static jsi::Value __addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2482
|
+
static_assert(
|
|
2483
|
+
bridging::getParameterCount(&T::addMenuItem) == 2,
|
|
2484
|
+
"Expected addMenuItem(...) to have 2 parameters");
|
|
2485
|
+
bridging::callFromJs<void>(rt, &T::addMenuItem, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2486
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
static jsi::Value __openDebugger(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2490
|
+
static_assert(
|
|
2491
|
+
bridging::getParameterCount(&T::openDebugger) == 1,
|
|
2492
|
+
"Expected openDebugger(...) to have 1 parameters");
|
|
2493
|
+
bridging::callFromJs<void>(rt, &T::openDebugger, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
static jsi::Value __addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2497
|
+
static_assert(
|
|
2498
|
+
bridging::getParameterCount(&T::addListener) == 2,
|
|
2499
|
+
"Expected addListener(...) to have 2 parameters");
|
|
2500
|
+
bridging::callFromJs<void>(rt, &T::addListener, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2501
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
static jsi::Value __removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2505
|
+
static_assert(
|
|
2506
|
+
bridging::getParameterCount(&T::removeListeners) == 2,
|
|
2507
|
+
"Expected removeListeners(...) to have 2 parameters");
|
|
2508
|
+
bridging::callFromJs<void>(rt, &T::removeListeners, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2509
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber());return jsi::Value::undefined();
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
static jsi::Value __setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2513
|
+
static_assert(
|
|
2514
|
+
bridging::getParameterCount(&T::setIsShakeToShowDevMenuEnabled) == 2,
|
|
2515
|
+
"Expected setIsShakeToShowDevMenuEnabled(...) to have 2 parameters");
|
|
2516
|
+
bridging::callFromJs<void>(rt, &T::setIsShakeToShowDevMenuEnabled, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2517
|
+
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool());return jsi::Value::undefined();
|
|
2518
|
+
}
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
|
|
2391
2522
|
template <typename T>
|
|
2392
2523
|
class JSI_EXPORT NativeDeviceEventManagerCxxSpec : public TurboModule {
|
|
2393
2524
|
public:
|
|
@@ -2675,145 +2806,6 @@ private:
|
|
|
2675
2806
|
};
|
|
2676
2807
|
|
|
2677
2808
|
|
|
2678
|
-
template <typename T>
|
|
2679
|
-
class JSI_EXPORT NativeDevLoadingViewCxxSpec : public TurboModule {
|
|
2680
|
-
public:
|
|
2681
|
-
static constexpr std::string_view kModuleName = "DevLoadingView";
|
|
2682
|
-
|
|
2683
|
-
protected:
|
|
2684
|
-
NativeDevLoadingViewCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeDevLoadingViewCxxSpec::kModuleName}, jsInvoker) {
|
|
2685
|
-
methodMap_["showMessage"] = MethodMetadata {.argCount = 4, .invoker = __showMessage};
|
|
2686
|
-
methodMap_["hide"] = MethodMetadata {.argCount = 0, .invoker = __hide};
|
|
2687
|
-
}
|
|
2688
|
-
|
|
2689
|
-
private:
|
|
2690
|
-
static jsi::Value __showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2691
|
-
static_assert(
|
|
2692
|
-
bridging::getParameterCount(&T::showMessage) == 5,
|
|
2693
|
-
"Expected showMessage(...) to have 5 parameters");
|
|
2694
|
-
bridging::callFromJs<void>(rt, &T::showMessage, static_cast<NativeDevLoadingViewCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2695
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
2696
|
-
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
2697
|
-
count <= 2 || args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber()),
|
|
2698
|
-
count <= 3 || args[3].isNull() || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asBool()));return jsi::Value::undefined();
|
|
2699
|
-
}
|
|
2700
|
-
|
|
2701
|
-
static jsi::Value __hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2702
|
-
static_assert(
|
|
2703
|
-
bridging::getParameterCount(&T::hide) == 1,
|
|
2704
|
-
"Expected hide(...) to have 1 parameters");
|
|
2705
|
-
bridging::callFromJs<void>(rt, &T::hide, static_cast<NativeDevLoadingViewCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2706
|
-
}
|
|
2707
|
-
};
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
template <typename T>
|
|
2711
|
-
class JSI_EXPORT NativeDevSettingsCxxSpec : public TurboModule {
|
|
2712
|
-
public:
|
|
2713
|
-
static constexpr std::string_view kModuleName = "DevSettings";
|
|
2714
|
-
|
|
2715
|
-
protected:
|
|
2716
|
-
NativeDevSettingsCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeDevSettingsCxxSpec::kModuleName}, jsInvoker) {
|
|
2717
|
-
methodMap_["reload"] = MethodMetadata {.argCount = 0, .invoker = __reload};
|
|
2718
|
-
methodMap_["reloadWithReason"] = MethodMetadata {.argCount = 1, .invoker = __reloadWithReason};
|
|
2719
|
-
methodMap_["onFastRefresh"] = MethodMetadata {.argCount = 0, .invoker = __onFastRefresh};
|
|
2720
|
-
methodMap_["setHotLoadingEnabled"] = MethodMetadata {.argCount = 1, .invoker = __setHotLoadingEnabled};
|
|
2721
|
-
methodMap_["setProfilingEnabled"] = MethodMetadata {.argCount = 1, .invoker = __setProfilingEnabled};
|
|
2722
|
-
methodMap_["toggleElementInspector"] = MethodMetadata {.argCount = 0, .invoker = __toggleElementInspector};
|
|
2723
|
-
methodMap_["addMenuItem"] = MethodMetadata {.argCount = 1, .invoker = __addMenuItem};
|
|
2724
|
-
methodMap_["openDebugger"] = MethodMetadata {.argCount = 0, .invoker = __openDebugger};
|
|
2725
|
-
methodMap_["addListener"] = MethodMetadata {.argCount = 1, .invoker = __addListener};
|
|
2726
|
-
methodMap_["removeListeners"] = MethodMetadata {.argCount = 1, .invoker = __removeListeners};
|
|
2727
|
-
methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {.argCount = 1, .invoker = __setIsShakeToShowDevMenuEnabled};
|
|
2728
|
-
}
|
|
2729
|
-
|
|
2730
|
-
private:
|
|
2731
|
-
static jsi::Value __reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2732
|
-
static_assert(
|
|
2733
|
-
bridging::getParameterCount(&T::reload) == 1,
|
|
2734
|
-
"Expected reload(...) to have 1 parameters");
|
|
2735
|
-
bridging::callFromJs<void>(rt, &T::reload, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2738
|
-
static jsi::Value __reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2739
|
-
static_assert(
|
|
2740
|
-
bridging::getParameterCount(&T::reloadWithReason) == 2,
|
|
2741
|
-
"Expected reloadWithReason(...) to have 2 parameters");
|
|
2742
|
-
bridging::callFromJs<void>(rt, &T::reloadWithReason, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2743
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2744
|
-
}
|
|
2745
|
-
|
|
2746
|
-
static jsi::Value __onFastRefresh(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2747
|
-
static_assert(
|
|
2748
|
-
bridging::getParameterCount(&T::onFastRefresh) == 1,
|
|
2749
|
-
"Expected onFastRefresh(...) to have 1 parameters");
|
|
2750
|
-
bridging::callFromJs<void>(rt, &T::onFastRefresh, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2751
|
-
}
|
|
2752
|
-
|
|
2753
|
-
static jsi::Value __setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2754
|
-
static_assert(
|
|
2755
|
-
bridging::getParameterCount(&T::setHotLoadingEnabled) == 2,
|
|
2756
|
-
"Expected setHotLoadingEnabled(...) to have 2 parameters");
|
|
2757
|
-
bridging::callFromJs<void>(rt, &T::setHotLoadingEnabled, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2758
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool());return jsi::Value::undefined();
|
|
2759
|
-
}
|
|
2760
|
-
|
|
2761
|
-
static jsi::Value __setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2762
|
-
static_assert(
|
|
2763
|
-
bridging::getParameterCount(&T::setProfilingEnabled) == 2,
|
|
2764
|
-
"Expected setProfilingEnabled(...) to have 2 parameters");
|
|
2765
|
-
bridging::callFromJs<void>(rt, &T::setProfilingEnabled, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2766
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool());return jsi::Value::undefined();
|
|
2767
|
-
}
|
|
2768
|
-
|
|
2769
|
-
static jsi::Value __toggleElementInspector(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2770
|
-
static_assert(
|
|
2771
|
-
bridging::getParameterCount(&T::toggleElementInspector) == 1,
|
|
2772
|
-
"Expected toggleElementInspector(...) to have 1 parameters");
|
|
2773
|
-
bridging::callFromJs<void>(rt, &T::toggleElementInspector, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2774
|
-
}
|
|
2775
|
-
|
|
2776
|
-
static jsi::Value __addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2777
|
-
static_assert(
|
|
2778
|
-
bridging::getParameterCount(&T::addMenuItem) == 2,
|
|
2779
|
-
"Expected addMenuItem(...) to have 2 parameters");
|
|
2780
|
-
bridging::callFromJs<void>(rt, &T::addMenuItem, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2781
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2782
|
-
}
|
|
2783
|
-
|
|
2784
|
-
static jsi::Value __openDebugger(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
|
|
2785
|
-
static_assert(
|
|
2786
|
-
bridging::getParameterCount(&T::openDebugger) == 1,
|
|
2787
|
-
"Expected openDebugger(...) to have 1 parameters");
|
|
2788
|
-
bridging::callFromJs<void>(rt, &T::openDebugger, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));return jsi::Value::undefined();
|
|
2789
|
-
}
|
|
2790
|
-
|
|
2791
|
-
static jsi::Value __addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2792
|
-
static_assert(
|
|
2793
|
-
bridging::getParameterCount(&T::addListener) == 2,
|
|
2794
|
-
"Expected addListener(...) to have 2 parameters");
|
|
2795
|
-
bridging::callFromJs<void>(rt, &T::addListener, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2796
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));return jsi::Value::undefined();
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
static jsi::Value __removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2800
|
-
static_assert(
|
|
2801
|
-
bridging::getParameterCount(&T::removeListeners) == 2,
|
|
2802
|
-
"Expected removeListeners(...) to have 2 parameters");
|
|
2803
|
-
bridging::callFromJs<void>(rt, &T::removeListeners, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2804
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber());return jsi::Value::undefined();
|
|
2805
|
-
}
|
|
2806
|
-
|
|
2807
|
-
static jsi::Value __setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2808
|
-
static_assert(
|
|
2809
|
-
bridging::getParameterCount(&T::setIsShakeToShowDevMenuEnabled) == 2,
|
|
2810
|
-
"Expected setIsShakeToShowDevMenuEnabled(...) to have 2 parameters");
|
|
2811
|
-
bridging::callFromJs<void>(rt, &T::setIsShakeToShowDevMenuEnabled, static_cast<NativeDevSettingsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
|
|
2812
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool());return jsi::Value::undefined();
|
|
2813
|
-
}
|
|
2814
|
-
};
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
2809
|
#pragma mark - NativeDialogManagerAndroidDialogOptions
|
|
2818
2810
|
|
|
2819
2811
|
template <typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<5685f79f9b08afe94f5b3e8ec8ff6748>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -48,12 +48,6 @@ public object ReactNativeFeatureFlags {
|
|
|
48
48
|
@JvmStatic
|
|
49
49
|
public fun cxxNativeAnimatedEnabled(): Boolean = accessor.cxxNativeAnimatedEnabled()
|
|
50
50
|
|
|
51
|
-
/**
|
|
52
|
-
* Removes JS sync at end of native animation
|
|
53
|
-
*/
|
|
54
|
-
@JvmStatic
|
|
55
|
-
public fun cxxNativeAnimatedRemoveJsSync(): Boolean = accessor.cxxNativeAnimatedRemoveJsSync()
|
|
56
|
-
|
|
57
51
|
/**
|
|
58
52
|
* Dispatch view commands in mount item order.
|
|
59
53
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<6645323047d21e58469de0d385954eab>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -23,7 +23,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
|
|
|
23
23
|
private var commonTestFlagCache: Boolean? = null
|
|
24
24
|
private var cdpInteractionMetricsEnabledCache: Boolean? = null
|
|
25
25
|
private var cxxNativeAnimatedEnabledCache: Boolean? = null
|
|
26
|
-
private var cxxNativeAnimatedRemoveJsSyncCache: Boolean? = null
|
|
27
26
|
private var disableEarlyViewCommandExecutionCache: Boolean? = null
|
|
28
27
|
private var disableImageViewPreallocationAndroidCache: Boolean? = null
|
|
29
28
|
private var disableMountItemReorderingAndroidCache: Boolean? = null
|
|
@@ -138,15 +137,6 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
|
|
|
138
137
|
return cached
|
|
139
138
|
}
|
|
140
139
|
|
|
141
|
-
override fun cxxNativeAnimatedRemoveJsSync(): Boolean {
|
|
142
|
-
var cached = cxxNativeAnimatedRemoveJsSyncCache
|
|
143
|
-
if (cached == null) {
|
|
144
|
-
cached = ReactNativeFeatureFlagsCxxInterop.cxxNativeAnimatedRemoveJsSync()
|
|
145
|
-
cxxNativeAnimatedRemoveJsSyncCache = cached
|
|
146
|
-
}
|
|
147
|
-
return cached
|
|
148
|
-
}
|
|
149
|
-
|
|
150
140
|
override fun disableEarlyViewCommandExecution(): Boolean {
|
|
151
141
|
var cached = disableEarlyViewCommandExecutionCache
|
|
152
142
|
if (cached == null) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<3da42d9ffdbba52e9e1d11a4e4dac8c4>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -34,8 +34,6 @@ public object ReactNativeFeatureFlagsCxxInterop {
|
|
|
34
34
|
|
|
35
35
|
@DoNotStrip @JvmStatic public external fun cxxNativeAnimatedEnabled(): Boolean
|
|
36
36
|
|
|
37
|
-
@DoNotStrip @JvmStatic public external fun cxxNativeAnimatedRemoveJsSync(): Boolean
|
|
38
|
-
|
|
39
37
|
@DoNotStrip @JvmStatic public external fun disableEarlyViewCommandExecution(): Boolean
|
|
40
38
|
|
|
41
39
|
@DoNotStrip @JvmStatic public external fun disableImageViewPreallocationAndroid(): Boolean
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<46e1f708d91d5ec45c866b8192192e72>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -29,8 +29,6 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi
|
|
|
29
29
|
|
|
30
30
|
override fun cxxNativeAnimatedEnabled(): Boolean = false
|
|
31
31
|
|
|
32
|
-
override fun cxxNativeAnimatedRemoveJsSync(): Boolean = false
|
|
33
|
-
|
|
34
32
|
override fun disableEarlyViewCommandExecution(): Boolean = false
|
|
35
33
|
|
|
36
34
|
override fun disableImageViewPreallocationAndroid(): Boolean = false
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<c19ea5e9ad6435b1f8587287cacf020b>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -27,7 +27,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
|
|
|
27
27
|
private var commonTestFlagCache: Boolean? = null
|
|
28
28
|
private var cdpInteractionMetricsEnabledCache: Boolean? = null
|
|
29
29
|
private var cxxNativeAnimatedEnabledCache: Boolean? = null
|
|
30
|
-
private var cxxNativeAnimatedRemoveJsSyncCache: Boolean? = null
|
|
31
30
|
private var disableEarlyViewCommandExecutionCache: Boolean? = null
|
|
32
31
|
private var disableImageViewPreallocationAndroidCache: Boolean? = null
|
|
33
32
|
private var disableMountItemReorderingAndroidCache: Boolean? = null
|
|
@@ -145,16 +144,6 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
|
|
|
145
144
|
return cached
|
|
146
145
|
}
|
|
147
146
|
|
|
148
|
-
override fun cxxNativeAnimatedRemoveJsSync(): Boolean {
|
|
149
|
-
var cached = cxxNativeAnimatedRemoveJsSyncCache
|
|
150
|
-
if (cached == null) {
|
|
151
|
-
cached = currentProvider.cxxNativeAnimatedRemoveJsSync()
|
|
152
|
-
accessedFeatureFlags.add("cxxNativeAnimatedRemoveJsSync")
|
|
153
|
-
cxxNativeAnimatedRemoveJsSyncCache = cached
|
|
154
|
-
}
|
|
155
|
-
return cached
|
|
156
|
-
}
|
|
157
|
-
|
|
158
147
|
override fun disableEarlyViewCommandExecution(): Boolean {
|
|
159
148
|
var cached = disableEarlyViewCommandExecutionCache
|
|
160
149
|
if (cached == null) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<17400be6ee20befd9eafb094455dfb63>>
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -29,8 +29,6 @@ public interface ReactNativeFeatureFlagsProvider {
|
|
|
29
29
|
|
|
30
30
|
@DoNotStrip public fun cxxNativeAnimatedEnabled(): Boolean
|
|
31
31
|
|
|
32
|
-
@DoNotStrip public fun cxxNativeAnimatedRemoveJsSync(): Boolean
|
|
33
|
-
|
|
34
32
|
@DoNotStrip public fun disableEarlyViewCommandExecution(): Boolean
|
|
35
33
|
|
|
36
34
|
@DoNotStrip public fun disableImageViewPreallocationAndroid(): Boolean
|
|
@@ -1266,10 +1266,6 @@ public class ReactHostImpl(
|
|
|
1266
1266
|
val method = "getOrCreateReloadTask()"
|
|
1267
1267
|
stateTracker.enterState(method)
|
|
1268
1268
|
|
|
1269
|
-
// Log how React Native is destroyed
|
|
1270
|
-
// TODO(T136397487): Remove after Venice is shipped to 100%
|
|
1271
|
-
raiseSoftException(method, reason)
|
|
1272
|
-
|
|
1273
1269
|
reloadTask?.let {
|
|
1274
1270
|
return it
|
|
1275
1271
|
}
|
|
@@ -1421,10 +1417,6 @@ public class ReactHostImpl(
|
|
|
1421
1417
|
val method = "getOrCreateDestroyTask()"
|
|
1422
1418
|
stateTracker.enterState(method)
|
|
1423
1419
|
|
|
1424
|
-
// Log how React Native is destroyed
|
|
1425
|
-
// TODO(T136397487): Remove after Venice is shipped to 100%
|
|
1426
|
-
raiseSoftException(method, reason, ex)
|
|
1427
|
-
|
|
1428
1420
|
destroyTask?.let {
|
|
1429
1421
|
return it
|
|
1430
1422
|
}
|