|
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<<d74dc8182a14fddbd7118149298515bd>> |
| 7 | + * @generated SignedSource<<e197b252b246d3c777ce1850d365220e>> |
8 | 8 | */
|
9 | 9 |
|
10 | 10 | /**
|
@@ -207,6 +207,12 @@ class ReactNativeFeatureFlagsJavaProvider
|
207 | 207 | return method(javaProvider_);
|
208 | 208 | }
|
209 | 209 |
|
| 210 | + bool enableSaferMainQueueSyncDispatchOnIOS() override { |
| 211 | + static const auto method = |
| 212 | + getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("enableSaferMainQueueSyncDispatchOnIOS"); |
| 213 | + return method(javaProvider_); |
| 214 | + } |
| 215 | + |
210 | 216 | bool enableSynchronousStateUpdates() override {
|
211 | 217 | static const auto method =
|
212 | 218 | getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("enableSynchronousStateUpdates");
|
@@ -471,6 +477,11 @@ bool JReactNativeFeatureFlagsCxxInterop::enableResourceTimingAPI(
|
471 | 477 | return ReactNativeFeatureFlags::enableResourceTimingAPI();
|
472 | 478 | }
|
473 | 479 |
|
| 480 | +bool JReactNativeFeatureFlagsCxxInterop::enableSaferMainQueueSyncDispatchOnIOS( |
| 481 | + facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) { |
| 482 | + return ReactNativeFeatureFlags::enableSaferMainQueueSyncDispatchOnIOS(); |
| 483 | +} |
| 484 | + |
474 | 485 | bool JReactNativeFeatureFlagsCxxInterop::enableSynchronousStateUpdates(
|
475 | 486 | facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
|
476 | 487 | return ReactNativeFeatureFlags::enableSynchronousStateUpdates();
|
@@ -686,6 +697,9 @@ void JReactNativeFeatureFlagsCxxInterop::registerNatives() {
|
686 | 697 | makeNativeMethod(
|
687 | 698 | "enableResourceTimingAPI",
|
688 | 699 | JReactNativeFeatureFlagsCxxInterop::enableResourceTimingAPI),
|
| 700 | + makeNativeMethod( |
| 701 | + "enableSaferMainQueueSyncDispatchOnIOS", |
| 702 | + JReactNativeFeatureFlagsCxxInterop::enableSaferMainQueueSyncDispatchOnIOS), |
689 | 703 | makeNativeMethod(
|
690 | 704 | "enableSynchronousStateUpdates",
|
691 | 705 | JReactNativeFeatureFlagsCxxInterop::enableSynchronousStateUpdates),
|
|
0 commit comments