Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<19656df8ed7f6c6cc897b1110f57c78e>>
* @generated SignedSource<<f13f6f3d2c0b4c3c5bb8a53f988598e5>>
*/

/**
Expand Down Expand Up @@ -168,6 +168,12 @@ public object ReactNativeFeatureFlags {
@JvmStatic
public fun enableEagerRootViewAttachment(): Boolean = accessor.enableEagerRootViewAttachment()

/**
* When enabled, Android will disable Props 1.5 raw value merging when Props 2.0 is available.
*/
@JvmStatic
public fun enableExclusivePropsUpdateAndroid(): Boolean = accessor.enableExclusivePropsUpdateAndroid()

/**
* This feature flag enables logs for Fabric.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<9b6129ab0adfa4d0f92752f52f6d91a3>>
* @generated SignedSource<<d8645c1bd103c965bcd2d861fcca6cb7>>
*/

/**
Expand Down Expand Up @@ -43,6 +43,7 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
private var enableDoubleMeasurementFixAndroidCache: Boolean? = null
private var enableEagerMainQueueModulesOnIOSCache: Boolean? = null
private var enableEagerRootViewAttachmentCache: Boolean? = null
private var enableExclusivePropsUpdateAndroidCache: Boolean? = null
private var enableFabricLogsCache: Boolean? = null
private var enableFabricRendererCache: Boolean? = null
private var enableFontScaleChangesUpdatingLayoutCache: Boolean? = null
Expand Down Expand Up @@ -315,6 +316,15 @@ internal class ReactNativeFeatureFlagsCxxAccessor : ReactNativeFeatureFlagsAcces
return cached
}

override fun enableExclusivePropsUpdateAndroid(): Boolean {
var cached = enableExclusivePropsUpdateAndroidCache
if (cached == null) {
cached = ReactNativeFeatureFlagsCxxInterop.enableExclusivePropsUpdateAndroid()
enableExclusivePropsUpdateAndroidCache = cached
}
return cached
}

override fun enableFabricLogs(): Boolean {
var cached = enableFabricLogsCache
if (cached == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<573d80277c150ff74d51d23f2e1876fc>>
* @generated SignedSource<<df23ae45b927d7fa629137b4e82a11ec>>
*/

/**
Expand Down Expand Up @@ -74,6 +74,8 @@ public object ReactNativeFeatureFlagsCxxInterop {

@DoNotStrip @JvmStatic public external fun enableEagerRootViewAttachment(): Boolean

@DoNotStrip @JvmStatic public external fun enableExclusivePropsUpdateAndroid(): Boolean

@DoNotStrip @JvmStatic public external fun enableFabricLogs(): Boolean

@DoNotStrip @JvmStatic public external fun enableFabricRenderer(): Boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<e3b2da8981d8ee398f753cb76e68c976>>
* @generated SignedSource<<89c93a8fe99467221ff89a2e31b0636b>>
*/

/**
Expand Down Expand Up @@ -69,6 +69,8 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun enableEagerRootViewAttachment(): Boolean = false

override fun enableExclusivePropsUpdateAndroid(): Boolean = false

override fun enableFabricLogs(): Boolean = false

override fun enableFabricRenderer(): Boolean = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<092b55220901732f9f21d4ccf74206e5>>
* @generated SignedSource<<12185b15743a7a13604d446d16caf99c>>
*/

/**
Expand Down Expand Up @@ -47,6 +47,7 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
private var enableDoubleMeasurementFixAndroidCache: Boolean? = null
private var enableEagerMainQueueModulesOnIOSCache: Boolean? = null
private var enableEagerRootViewAttachmentCache: Boolean? = null
private var enableExclusivePropsUpdateAndroidCache: Boolean? = null
private var enableFabricLogsCache: Boolean? = null
private var enableFabricRendererCache: Boolean? = null
private var enableFontScaleChangesUpdatingLayoutCache: Boolean? = null
Expand Down Expand Up @@ -342,6 +343,16 @@ internal class ReactNativeFeatureFlagsLocalAccessor : ReactNativeFeatureFlagsAcc
return cached
}

override fun enableExclusivePropsUpdateAndroid(): Boolean {
var cached = enableExclusivePropsUpdateAndroidCache
if (cached == null) {
cached = currentProvider.enableExclusivePropsUpdateAndroid()
accessedFeatureFlags.add("enableExclusivePropsUpdateAndroid")
enableExclusivePropsUpdateAndroidCache = cached
}
return cached
}

override fun enableFabricLogs(): Boolean {
var cached = enableFabricLogsCache
if (cached == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<f9edd04c2228dfbbe5a1dc36ceb48688>>
* @generated SignedSource<<3fe75635fc1bb8340a08bb4d88d44657>>
*/

/**
Expand Down Expand Up @@ -69,6 +69,8 @@ public interface ReactNativeFeatureFlagsProvider {

@DoNotStrip public fun enableEagerRootViewAttachment(): Boolean

@DoNotStrip public fun enableExclusivePropsUpdateAndroid(): Boolean

@DoNotStrip public fun enableFabricLogs(): Boolean

@DoNotStrip public fun enableFabricRenderer(): Boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<33a06b98052c7ea82006d28b04328fa7>>
* @generated SignedSource<<e7b7c8058157dc9cd380497e37827ad1>>
*/

/**
Expand Down Expand Up @@ -177,6 +177,12 @@ class ReactNativeFeatureFlagsJavaProvider
return method(javaProvider_);
}

bool enableExclusivePropsUpdateAndroid() override {
static const auto method =
getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("enableExclusivePropsUpdateAndroid");
return method(javaProvider_);
}

bool enableFabricLogs() override {
static const auto method =
getReactNativeFeatureFlagsProviderJavaClass()->getMethod<jboolean()>("enableFabricLogs");
Expand Down Expand Up @@ -680,6 +686,11 @@ bool JReactNativeFeatureFlagsCxxInterop::enableEagerRootViewAttachment(
return ReactNativeFeatureFlags::enableEagerRootViewAttachment();
}

bool JReactNativeFeatureFlagsCxxInterop::enableExclusivePropsUpdateAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
return ReactNativeFeatureFlags::enableExclusivePropsUpdateAndroid();
}

bool JReactNativeFeatureFlagsCxxInterop::enableFabricLogs(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop> /*unused*/) {
return ReactNativeFeatureFlags::enableFabricLogs();
Expand Down Expand Up @@ -1100,6 +1111,9 @@ void JReactNativeFeatureFlagsCxxInterop::registerNatives() {
makeNativeMethod(
"enableEagerRootViewAttachment",
JReactNativeFeatureFlagsCxxInterop::enableEagerRootViewAttachment),
makeNativeMethod(
"enableExclusivePropsUpdateAndroid",
JReactNativeFeatureFlagsCxxInterop::enableExclusivePropsUpdateAndroid),
makeNativeMethod(
"enableFabricLogs",
JReactNativeFeatureFlagsCxxInterop::enableFabricLogs),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<838a569cfd4e917233fdbfb5b090907b>>
* @generated SignedSource<<f01723cc6c3d0007a8137a616f4ce342>>
*/

/**
Expand Down Expand Up @@ -99,6 +99,9 @@ class JReactNativeFeatureFlagsCxxInterop
static bool enableEagerRootViewAttachment(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

static bool enableExclusivePropsUpdateAndroid(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

static bool enableFabricLogs(
facebook::jni::alias_ref<JReactNativeFeatureFlagsCxxInterop>);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<3c93056dbbf315ef24520f770ccb1b6f>>
* @generated SignedSource<<9329f2f50513d541ea32c46b5cd0205c>>
*/

/**
Expand Down Expand Up @@ -118,6 +118,10 @@ bool ReactNativeFeatureFlags::enableEagerRootViewAttachment() {
return getAccessor().enableEagerRootViewAttachment();
}

bool ReactNativeFeatureFlags::enableExclusivePropsUpdateAndroid() {
return getAccessor().enableExclusivePropsUpdateAndroid();
}

bool ReactNativeFeatureFlags::enableFabricLogs() {
return getAccessor().enableFabricLogs();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<4b1e0adaaee9856feb290d0ba5e18147>>
* @generated SignedSource<<b0d7dcdacfab8ee27c1df866bd74a94e>>
*/

/**
Expand Down Expand Up @@ -154,6 +154,11 @@ class ReactNativeFeatureFlags {
*/
RN_EXPORT static bool enableEagerRootViewAttachment();

/**
* When enabled, Android will disable Props 1.5 raw value merging when Props 2.0 is available.
*/
RN_EXPORT static bool enableExclusivePropsUpdateAndroid();

/**
* This feature flag enables logs for Fabric.
*/
Expand Down
Loading
Loading