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<<bd9b92174bcc46a6df01d0489b2aebc8>>
* @generated SignedSource<<a048b52a2c83977dc904cd881e330a08>>
*/

/**
Expand Down Expand Up @@ -49,7 +49,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun enableAndroidTextMeasurementOptimizations(): Boolean = false

override fun enableBridgelessArchitecture(): Boolean = false
override fun enableBridgelessArchitecture(): Boolean = true

override fun enableCppPropsIteratorSetter(): Boolean = false

Expand All @@ -65,7 +65,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun enableFabricLogs(): Boolean = false

override fun enableFabricRenderer(): Boolean = false
override fun enableFabricRenderer(): Boolean = true

override fun enableFontScaleChangesUpdatingLayout(): Boolean = true

Expand Down Expand Up @@ -173,7 +173,7 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun useTurboModuleInterop(): Boolean = false

override fun useTurboModules(): Boolean = false
override fun useTurboModules(): Boolean = true

override fun viewCullingOutsetRatio(): Double = 0.0

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<<4464982256b8ce543d9235fccbf67054>>
* @generated SignedSource<<2c7426b2e2671f753182372371c3c64d>>
*/

/**
Expand All @@ -23,15 +23,9 @@ public open class ReactNativeFeatureFlagsOverrides_RNOSS_Canary_Android : ReactN
// We could use JNI to get the defaults from C++,
// but that is more expensive than just duplicating the defaults here.

override fun enableBridgelessArchitecture(): Boolean = true

override fun enableFabricRenderer(): Boolean = true

override fun enableWebPerformanceAPIsByDefault(): Boolean = true

override fun useNativeViewConfigsInBridgelessMode(): Boolean = true

override fun useTurboModuleInterop(): Boolean = true

override fun useTurboModules(): Boolean = true
}
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<<3ddb240bc600ff3cfa0cfe5896c59b23>>
* @generated SignedSource<<8165ba6a223f1561f2b26813cb05f5fb>>
*/

/**
Expand Down Expand Up @@ -80,7 +80,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
}

bool enableBridgelessArchitecture() override {
return false;
return true;
}

bool enableCppPropsIteratorSetter() override {
Expand Down Expand Up @@ -112,7 +112,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
}

bool enableFabricRenderer() override {
return false;
return true;
}

bool enableFontScaleChangesUpdatingLayout() override {
Expand Down Expand Up @@ -328,7 +328,7 @@ class ReactNativeFeatureFlagsDefaults : public ReactNativeFeatureFlagsProvider {
}

bool useTurboModules() override {
return false;
return true;
}

double viewCullingOutsetRatio() override {
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<<32a03e199994c91c022013d7929bfea5>>
* @generated SignedSource<<ae59067a621102f0683fc27e1c8b1440>>
*/

/**
Expand All @@ -27,14 +27,6 @@ class ReactNativeFeatureFlagsOverridesOSSCanary : public ReactNativeFeatureFlags
public:
ReactNativeFeatureFlagsOverridesOSSCanary() = default;

bool enableBridgelessArchitecture() override {
return true;
}

bool enableFabricRenderer() override {
return true;
}

bool enableWebPerformanceAPIsByDefault() override {
return true;
}
Expand All @@ -46,10 +38,6 @@ class ReactNativeFeatureFlagsOverridesOSSCanary : public ReactNativeFeatureFlags
bool useTurboModuleInterop() override {
return true;
}

bool useTurboModules() override {
return true;
}
};

} // namespace facebook::react
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,14 @@ const definitions: FeatureFlagDefinitions = {
ossReleaseStage: 'none',
},
enableBridgelessArchitecture: {
defaultValue: false,
defaultValue: true,
metadata: {
description:
'Feature flag to enable the new bridgeless architecture. Note: Enabling this will force enable the following flags: `useTurboModules` & `enableFabricRenderer`.',
expectedReleaseValue: true,
purpose: 'release',
},
ossReleaseStage: 'canary',
ossReleaseStage: 'stable',
},
enableCppPropsIteratorSetter: {
defaultValue: false,
Expand Down Expand Up @@ -273,13 +273,13 @@ const definitions: FeatureFlagDefinitions = {
ossReleaseStage: 'none',
},
enableFabricRenderer: {
defaultValue: false,
defaultValue: true,
metadata: {
description: 'Enables the use of the Fabric renderer in the whole app.',
expectedReleaseValue: true,
purpose: 'release',
},
ossReleaseStage: 'canary',
ossReleaseStage: 'stable',
},
enableFontScaleChangesUpdatingLayout: {
defaultValue: true,
Expand Down Expand Up @@ -847,14 +847,14 @@ const definitions: FeatureFlagDefinitions = {
ossReleaseStage: 'canary',
},
useTurboModules: {
defaultValue: false,
defaultValue: true,
metadata: {
description:
'When enabled, NativeModules will be executed by using the TurboModule system',
expectedReleaseValue: true,
purpose: 'release',
},
ossReleaseStage: 'canary',
ossReleaseStage: 'stable',
},
viewCullingOutsetRatio: {
defaultValue: 0,
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<<dc249978e6199d4aba3d039d8e967400>>
* @generated SignedSource<<8f8c075c7507ed5d99110cb9e04b5f0d>>
* @flow strict
* @noformat
*/
Expand Down Expand Up @@ -265,7 +265,7 @@ export const enableAndroidTextMeasurementOptimizations: Getter<boolean> = create
/**
* Feature flag to enable the new bridgeless architecture. Note: Enabling this will force enable the following flags: `useTurboModules` & `enableFabricRenderer`.
*/
export const enableBridgelessArchitecture: Getter<boolean> = createNativeFlagGetter('enableBridgelessArchitecture', false);
export const enableBridgelessArchitecture: Getter<boolean> = createNativeFlagGetter('enableBridgelessArchitecture', true);
/**
* Enable prop iterator setter-style construction of Props in C++ (this flag is not used in Java).
*/
Expand Down Expand Up @@ -297,7 +297,7 @@ export const enableFabricLogs: Getter<boolean> = createNativeFlagGetter('enableF
/**
* Enables the use of the Fabric renderer in the whole app.
*/
export const enableFabricRenderer: Getter<boolean> = createNativeFlagGetter('enableFabricRenderer', false);
export const enableFabricRenderer: Getter<boolean> = createNativeFlagGetter('enableFabricRenderer', true);
/**
* Enables font scale changes updating layout for measurable nodes.
*/
Expand Down Expand Up @@ -513,7 +513,7 @@ export const useTurboModuleInterop: Getter<boolean> = createNativeFlagGetter('us
/**
* When enabled, NativeModules will be executed by using the TurboModule system
*/
export const useTurboModules: Getter<boolean> = createNativeFlagGetter('useTurboModules', false);
export const useTurboModules: Getter<boolean> = createNativeFlagGetter('useTurboModules', true);
/**
* Outset the culling context frame with the provided ratio. The culling context frame size will be outset by width * ratio on the left and right, and height * ratio on the top and bottom.
*/
Expand Down
Loading