Skip to content

Commit

Permalink
Feature flags: Enable modern inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
robhogan authored and facebook-github-bot committed Mar 6, 2024
1 parent 1c69100 commit 4472113
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
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<<4f72683fb2a832d5b77ee2cb37343526>>
* @generated SignedSource<<48e1e00f2ae735de06a46e23ac36d4ca>>
*/

/**
Expand Down Expand Up @@ -37,9 +37,9 @@ public open class ReactNativeFeatureFlagsDefaults : ReactNativeFeatureFlagsProvi

override fun enableSpannableBuildingUnification(): Boolean = false

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

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

override fun useModernRuntimeScheduler(): Boolean = false
}
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<<927bc1410a5baadf3a4005e50067c4df>>
* @generated SignedSource<<58e48a706ac09e0ef5d28c60da35035e>>
*/

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

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

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

bool useModernRuntimeScheduler() override {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ const definitions: FeatureFlagDefinitions = {
'Uses new, deduplicated logic for constructing Android Spannables from text fragments',
},
inspectorEnableCxxInspectorPackagerConnection: {
defaultValue: false,
defaultValue: true,
description:
'Flag determining if the C++ implementation of InspectorPackagerConnection should be used instead of the per-platform one. This flag is global and should not be changed across React Host lifetimes.',
},
inspectorEnableModernCDPRegistry: {
defaultValue: false,
defaultValue: true,
description:
'Flag determining if the modern CDP backend should be enabled. This flag is global and should not be changed across React Host lifetimes.',
},
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<<c055b3ee44111eb5e3367c664befc685>>
* @generated SignedSource<<5bdc178fe4988dff8a791bdf0f81ab1a>>
* @flow strict-local
*/

Expand Down Expand Up @@ -123,11 +123,11 @@ export const enableSpannableBuildingUnification: Getter<boolean> = createNativeF
/**
* Flag determining if the C++ implementation of InspectorPackagerConnection should be used instead of the per-platform one. This flag is global and should not be changed across React Host lifetimes.
*/
export const inspectorEnableCxxInspectorPackagerConnection: Getter<boolean> = createNativeFlagGetter('inspectorEnableCxxInspectorPackagerConnection', false);
export const inspectorEnableCxxInspectorPackagerConnection: Getter<boolean> = createNativeFlagGetter('inspectorEnableCxxInspectorPackagerConnection', true);
/**
* Flag determining if the modern CDP backend should be enabled. This flag is global and should not be changed across React Host lifetimes.
*/
export const inspectorEnableModernCDPRegistry: Getter<boolean> = createNativeFlagGetter('inspectorEnableModernCDPRegistry', false);
export const inspectorEnableModernCDPRegistry: Getter<boolean> = createNativeFlagGetter('inspectorEnableModernCDPRegistry', true);
/**
* When enabled, it uses the modern fork of RuntimeScheduler that allows scheduling tasks with priorities from any thread.
*/
Expand Down

0 comments on commit 4472113

Please sign in to comment.