react-native 0.88.0-rc.2 → 0.88.0-rc.3
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/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/gradle/libs.versions.toml +1 -1
- package/package.json +8 -8
- package/scripts/spm/generate-spm-autolinking.js +20 -9
- package/scripts/spm/generate-spm-xcodeproj.js +3 -1
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/react-private-interface.js +4 -0
- package/src/react-private-interface.js.flow +1 -0
- package/types_generated/src/private/featureflags/ReactNativeFeatureFlags.d.ts +646 -0
- package/types_generated/src/private/featureflags/ReactNativeFeatureFlagsBase.d.ts +24 -0
- package/types_generated/src/private/featureflags/specs/NativeReactNativeFeatureFlags.d.ts +117 -0
- package/types_generated/src/react-private-interface.d.ts +2 -1
|
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
|
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 88;
|
|
31
31
|
static patch: number = 0;
|
|
32
|
-
static prerelease: string | null = 'rc.
|
|
32
|
+
static prerelease: string | null = 'rc.3';
|
|
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
|
@@ -10,7 +10,7 @@ agp = "9.2.1"
|
|
|
10
10
|
androidx-annotation = "1.6.0"
|
|
11
11
|
androidx-appcompat = "1.7.0"
|
|
12
12
|
androidx-autofill = "1.3.0"
|
|
13
|
-
androidx-collection = "1.4.
|
|
13
|
+
androidx-collection = "1.4.4"
|
|
14
14
|
androidx-benchmark-macro-junit4 = "1.3.3"
|
|
15
15
|
androidx-profileinstaller = "1.4.1"
|
|
16
16
|
androidx-swiperefreshlayout = "1.1.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.88.0-rc.
|
|
3
|
+
"version": "0.88.0-rc.3",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -154,18 +154,18 @@
|
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
156
|
"dependencies": {
|
|
157
|
-
"@react-native/asset-utils": "0.88.0-rc.
|
|
158
|
-
"@react-native/codegen": "0.88.0-rc.
|
|
159
|
-
"@react-native/community-cli-plugin": "0.88.0-rc.
|
|
160
|
-
"@react-native/gradle-plugin": "0.88.0-rc.
|
|
161
|
-
"@react-native/normalize-colors": "0.88.0-rc.
|
|
162
|
-
"@react-native/virtualized-lists": "0.88.0-rc.
|
|
157
|
+
"@react-native/asset-utils": "0.88.0-rc.3",
|
|
158
|
+
"@react-native/codegen": "0.88.0-rc.3",
|
|
159
|
+
"@react-native/community-cli-plugin": "0.88.0-rc.3",
|
|
160
|
+
"@react-native/gradle-plugin": "0.88.0-rc.3",
|
|
161
|
+
"@react-native/normalize-colors": "0.88.0-rc.3",
|
|
162
|
+
"@react-native/virtualized-lists": "0.88.0-rc.3",
|
|
163
163
|
"anser": "^1.4.9",
|
|
164
164
|
"ansi-regex": "^5.0.0",
|
|
165
165
|
"flow-parser": "0.327.0",
|
|
166
166
|
"base64-js": "^1.5.1",
|
|
167
167
|
"flow-enums-runtime": "^0.0.6",
|
|
168
|
-
"hermes-compiler": "260318099.0.
|
|
168
|
+
"hermes-compiler": "260318099.0.4",
|
|
169
169
|
"invariant": "^2.2.4",
|
|
170
170
|
"memoize-one": "^5.0.0",
|
|
171
171
|
"metro-runtime": "^0.87.1",
|
|
@@ -1515,11 +1515,14 @@ function main(argv /*:: ?: Array<string> */) /*: void */ {
|
|
|
1515
1515
|
// is the Swift module name (guaranteed unique per dep), so SPM's
|
|
1516
1516
|
// path-basename-based package identity never collides — even when two
|
|
1517
1517
|
// libs ship their own Package.swift inside `ios/` (a common convention).
|
|
1518
|
-
//
|
|
1518
|
+
// Populated below as self-managed deps are visited, then pruned. Entries
|
|
1519
|
+
// that do not change keep their inode: Xcode holds each one as a loaded
|
|
1520
|
+
// package root, and recreating one it already resolved fails the build with
|
|
1521
|
+
// "Missing package product".
|
|
1519
1522
|
const libsDir = path.join(outputDir, 'libs');
|
|
1523
|
+
const wantedLibAliases /*: Set<string> */ = new Set();
|
|
1520
1524
|
fs.mkdirSync(packagesDir, {recursive: true});
|
|
1521
1525
|
fs.mkdirSync(headersDir, {recursive: true});
|
|
1522
|
-
fs.rmSync(libsDir, {recursive: true, force: true});
|
|
1523
1526
|
fs.mkdirSync(libsDir, {recursive: true});
|
|
1524
1527
|
|
|
1525
1528
|
const wrapperDirs /*: Map<string, string> */ = new Map();
|
|
@@ -1652,6 +1655,7 @@ function main(argv /*:: ?: Array<string> */) /*: void */ {
|
|
|
1652
1655
|
const realPackageDir = selfManagedDirs.get(target.name) ?? absSource;
|
|
1653
1656
|
const aliasPath = path.join(libsDir, target.name);
|
|
1654
1657
|
ensureSymlink(aliasPath, realPackageDir);
|
|
1658
|
+
wantedLibAliases.add(target.name);
|
|
1655
1659
|
aggregatorPackageDeps.push({
|
|
1656
1660
|
swiftName: target.name,
|
|
1657
1661
|
packagePath: `libs/${target.name}`,
|
|
@@ -1779,23 +1783,30 @@ function main(argv /*:: ?: Array<string> */) /*: void */ {
|
|
|
1779
1783
|
});
|
|
1780
1784
|
}
|
|
1781
1785
|
|
|
1782
|
-
// Prune stale wrappers
|
|
1783
|
-
// Preserve both wrapper-managed and self-managed names; only
|
|
1784
|
-
// are no longer autolinked at all get removed. Note:
|
|
1785
|
-
// wrapper-managed names (self-managed deps live in
|
|
1786
|
-
// but `headers/` has both since we populate the
|
|
1786
|
+
// Prune stale wrappers, header dirs and lib aliases for entries no longer
|
|
1787
|
+
// autolinked. Preserve both wrapper-managed and self-managed names; only
|
|
1788
|
+
// entries that are no longer autolinked at all get removed. Note:
|
|
1789
|
+
// `packages/` only has wrapper-managed names (self-managed deps live in
|
|
1790
|
+
// their own source dirs), but `headers/` has both since we populate the
|
|
1791
|
+
// central tree for everyone. `libs/` keeps only the aliases written above,
|
|
1792
|
+
// so a dep that stopped being self-managed loses its alias too.
|
|
1787
1793
|
const activeNames /*: Set<string> */ = new Set([
|
|
1788
1794
|
...wrapperDirs.keys(),
|
|
1789
1795
|
...selfManagedDirs.keys(),
|
|
1790
1796
|
]);
|
|
1791
|
-
|
|
1797
|
+
const pruneTargets /*: Array<[string, Set<string>]> */ = [
|
|
1798
|
+
['packages', activeNames],
|
|
1799
|
+
['headers', activeNames],
|
|
1800
|
+
['libs', wantedLibAliases],
|
|
1801
|
+
];
|
|
1802
|
+
for (const [subdir, keptNames] of pruneTargets) {
|
|
1792
1803
|
const dir = path.join(outputDir, subdir);
|
|
1793
1804
|
try {
|
|
1794
1805
|
const existing /*: Array<{name: string, isSymbolicLink(): boolean, isDirectory(): boolean}> */ =
|
|
1795
1806
|
// $FlowFixMe[incompatible-type] Dirent typing
|
|
1796
1807
|
fs.readdirSync(dir, {withFileTypes: true});
|
|
1797
1808
|
for (const entry of existing) {
|
|
1798
|
-
if (
|
|
1809
|
+
if (keptNames.has(entry.name)) continue;
|
|
1799
1810
|
const stale = path.join(dir, entry.name);
|
|
1800
1811
|
if (entry.isSymbolicLink() || !entry.isDirectory()) {
|
|
1801
1812
|
fs.unlinkSync(stale);
|
|
@@ -767,7 +767,9 @@ if [ "$STALE" -eq 0 ] && [ -f "$WATCH_FILE" ]; then
|
|
|
767
767
|
while IFS= read -r P; do
|
|
768
768
|
[ -z "$P" ] && continue
|
|
769
769
|
if [ -d "$P" ]; then
|
|
770
|
-
|
|
770
|
+
# .swiftpm holds Xcode's own per-user scheme state, which it rewrites
|
|
771
|
+
# during a build — reading it as a change makes every IDE build re-sync.
|
|
772
|
+
if [ -n "$(find "$P" -name .swiftpm -prune -o -newer "$STAMP" -print -quit 2>/dev/null)" ]; then
|
|
771
773
|
STALE=1
|
|
772
774
|
break
|
|
773
775
|
fi
|
|
@@ -1 +1 @@
|
|
|
1
|
-
HERMES_VERSION_NAME=260318099.0.
|
|
1
|
+
HERMES_VERSION_NAME=260318099.0.4
|
|
@@ -49,6 +49,7 @@ import type {DangerouslyImpreciseStyleProp} from '../Libraries/StyleSheet/StyleS
|
|
|
49
49
|
import typeof deepFreezeAndThrowOnMutationInDev from '../Libraries/Utilities/deepFreezeAndThrowOnMutationInDev';
|
|
50
50
|
import typeof deepDiffer from '../Libraries/Utilities/differ/deepDiffer';
|
|
51
51
|
import typeof Platform from '../Libraries/Utilities/Platform';
|
|
52
|
+
import typeof * as ReactNativeFeatureFlags from './private/featureflags/ReactNativeFeatureFlags';
|
|
52
53
|
import typeof dispatchNativeEvent from './private/renderer/events/dispatchNativeEvent';
|
|
53
54
|
import typeof CustomEvent from './private/webapis/dom/events/CustomEvent';
|
|
54
55
|
|
|
@@ -70,6 +71,9 @@ module.exports = {
|
|
|
70
71
|
get RCTEventEmitter(): RCTEventEmitter {
|
|
71
72
|
return require('../Libraries/EventEmitter/RCTEventEmitter').default;
|
|
72
73
|
},
|
|
74
|
+
get ReactNativeFeatureFlags(): ReactNativeFeatureFlags {
|
|
75
|
+
return require('./private/featureflags/ReactNativeFeatureFlags');
|
|
76
|
+
},
|
|
73
77
|
get ReactNativeViewConfigRegistry(): ReactNativeViewConfigRegistry {
|
|
74
78
|
return require('../Libraries/Renderer/shims/ReactNativeViewConfigRegistry');
|
|
75
79
|
},
|
|
@@ -24,6 +24,7 @@ export {default as BatchedBridge} from '../Libraries/BatchedBridge/BatchedBridge
|
|
|
24
24
|
export {default as ExceptionsManager} from '../Libraries/Core/ExceptionsManager';
|
|
25
25
|
export {default as Platform} from '../Libraries/Utilities/Platform';
|
|
26
26
|
export {default as RCTEventEmitter} from '../Libraries/EventEmitter/RCTEventEmitter';
|
|
27
|
+
export * as ReactNativeFeatureFlags from './private/featureflags/ReactNativeFeatureFlags';
|
|
27
28
|
export * as ReactNativeViewConfigRegistry from '../Libraries/Renderer/shims/ReactNativeViewConfigRegistry';
|
|
28
29
|
export {default as TextInputState} from '../Libraries/Components/TextInput/TextInputState';
|
|
29
30
|
export {default as UIManager} from '../Libraries/ReactNative/UIManager';
|
|
@@ -0,0 +1,646 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<f85ebbf01090da7a9d6352ecb95f2ee4>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/src/private/featureflags/ReactNativeFeatureFlags.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* IMPORTANT: Do NOT modify this file directly.
|
|
15
|
+
*
|
|
16
|
+
* To change the definition of the flags, edit
|
|
17
|
+
* packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js.
|
|
18
|
+
*
|
|
19
|
+
* To regenerate this code, run the following script from the repo root:
|
|
20
|
+
* yarn featureflags --update
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
import { type Getter, type OverridesFor, setOverrides } from "./ReactNativeFeatureFlagsBase";
|
|
24
|
+
export type ReactNativeFeatureFlagsJsOnly = Readonly<{
|
|
25
|
+
jsOnlyTestFlag: Getter<boolean>;
|
|
26
|
+
animatedDeferStartOfTimingAnimations: Getter<boolean>;
|
|
27
|
+
animatedForceNativeDriver: Getter<boolean>;
|
|
28
|
+
animatedKeepListenersOnDetach: Getter<boolean>;
|
|
29
|
+
animatedShouldSyncValueBeforeStartCallback: Getter<boolean>;
|
|
30
|
+
deferFlatListFocusChangeRenderUpdate: Getter<boolean>;
|
|
31
|
+
enableImperativeEvents_DEPRECATED: Getter<boolean>;
|
|
32
|
+
enableNativeEventTargetEventDispatching: Getter<boolean>;
|
|
33
|
+
externalElementInspectionEnabled: Getter<boolean>;
|
|
34
|
+
fixVirtualizeListCollapseWindowSize: Getter<boolean>;
|
|
35
|
+
isLayoutAnimationEnabled: Getter<boolean>;
|
|
36
|
+
shouldUseAnimatedObjectForTransform: Getter<boolean>;
|
|
37
|
+
shouldUseRemoveClippedSubviewsAsDefaultOnIOS: Getter<boolean>;
|
|
38
|
+
shouldUseSetNativePropsInFabric: Getter<boolean>;
|
|
39
|
+
}>;
|
|
40
|
+
export type ReactNativeFeatureFlagsJsOnlyOverrides = OverridesFor<ReactNativeFeatureFlagsJsOnly>;
|
|
41
|
+
export type ReactNativeFeatureFlags = Readonly<Omit<ReactNativeFeatureFlagsJsOnly, "commonTestFlag" | "commonTestFlagWithoutNativeImplementation" | "cdpInteractionMetricsEnabled" | "cxxNativeAnimatedEnabled" | "defaultTextToOverflowHidden" | "disableEarlyViewCommandExecution" | "disableImageViewPreallocationAndroid" | "disableMountItemReorderingAndroid" | "disableSubviewClippingAndroid" | "disableTextLayoutManagerCacheAndroid" | "disableViewPreallocationAndroid" | "enableAccessibilityOrder" | "enableAccumulatedUpdatesInRawPropsAndroid" | "enableAndroidTextMeasurementOptimizations" | "enableBridgelessArchitecture" | "enableBufferedCallInvoker" | "enableCppPropsIteratorSetter" | "enableCustomFocusSearchOnClippedElementsAndroid" | "enableDestroyShadowTreeRevisionAsync" | "enableDoubleMeasurementFixAndroid" | "enableEagerRootViewAttachment" | "enableExclusivePropsUpdateAndroid" | "enableFabricCommitBranching" | "enableFabricLogs" | "enableFlexboxAutoMinSizeInStrictMode" | "enableFontScaleChangesUpdatingLayout" | "enableIOSCompressedTextFrameAdjustment" | "enableIOSTextBaselineOffsetPerLine" | "enableIOSViewClipToPaddingBox" | "enableImagePrefetchingAndroid" | "enableImageTransparentTintColor" | "enableImmediateUpdateModeForContentOffsetChanges" | "enableImperativeEvents" | "enableImperativeFocus" | "enableInteropViewManagerClassLookUpOptimizationIOS" | "enableIntersectionObserverByDefault" | "enableKeyEvents" | "enableLayoutAnimationsOnAndroid" | "enableLayoutAnimationsOnIOS" | "enableModuleArgumentNSNullConversionIOS" | "enableMountingCoordinatorPullModelAndroid" | "enableMutationObserverByDefault" | "enableNativeCSSParsing" | "enablePreparedTextLayout" | "enablePropsUpdateReconciliationAndroid" | "enableResizeObserverByDefault" | "enableSwiftUIBasedFilters" | "enableViewCulling" | "enableViewRecycling" | "enableViewRecyclingForImage" | "enableViewRecyclingForScrollView" | "enableViewRecyclingForText" | "enableViewRecyclingForView" | "enableVirtualViewContainerStateExperimental" | "fixDifferentiatorParentTagForUnflattenCase" | "fixMappingOfEventPrioritiesBetweenFabricAndReact" | "fixYogaFlexBasisFitContentInMainAxis" | "fuseboxAssertSingleHostState" | "fuseboxEnabledRelease" | "fuseboxFrameRecordingEnabled" | "fuseboxScreenshotCaptureEnabled" | "fuseboxWebSocketEventsEnabled" | "optimizedAnimatedPropUpdates" | "overrideBySynchronousMountPropsAtMountingAndroid" | "perfIssuesEnabled" | "perfMonitorV2Enabled" | "preparedTextCacheSize" | "preventShadowTreeCommitExhaustion" | "redBoxV2Android" | "redBoxV2IOS" | "shouldPressibilityUseW3CPointerEventsForHover" | "shouldTriggerResponderTransferOnScrollAndroid" | "skipActivityIdentityAssertionOnHostPause" | "syncAndroidClipBoundsWithOverflow" | "traceTurboModulePromiseRejectionsOnAndroid" | "updateRuntimeShadowNodeReferencesOnCommit" | "updateRuntimeShadowNodeReferencesOnCommitThread" | "useAlwaysAvailableJSErrorHandling" | "useFabricInterop" | "useNativeViewConfigsInBridgelessMode" | "useNestedScrollViewAndroid" | "useSharedAnimatedBackend" | "useTraitHiddenOnAndroid" | "useTurboModuleInterop" | "viewCullingOutsetRatio" | "viewTransitionEnabled" | "viewTransitionUseHardwareBitmapAndroid" | "virtualViewPrerenderRatio"> & {
|
|
42
|
+
commonTestFlag: Getter<boolean>;
|
|
43
|
+
commonTestFlagWithoutNativeImplementation: Getter<boolean>;
|
|
44
|
+
cdpInteractionMetricsEnabled: Getter<boolean>;
|
|
45
|
+
cxxNativeAnimatedEnabled: Getter<boolean>;
|
|
46
|
+
defaultTextToOverflowHidden: Getter<boolean>;
|
|
47
|
+
disableEarlyViewCommandExecution: Getter<boolean>;
|
|
48
|
+
disableImageViewPreallocationAndroid: Getter<boolean>;
|
|
49
|
+
disableMountItemReorderingAndroid: Getter<boolean>;
|
|
50
|
+
disableSubviewClippingAndroid: Getter<boolean>;
|
|
51
|
+
disableTextLayoutManagerCacheAndroid: Getter<boolean>;
|
|
52
|
+
disableViewPreallocationAndroid: Getter<boolean>;
|
|
53
|
+
enableAccessibilityOrder: Getter<boolean>;
|
|
54
|
+
enableAccumulatedUpdatesInRawPropsAndroid: Getter<boolean>;
|
|
55
|
+
enableAndroidTextMeasurementOptimizations: Getter<boolean>;
|
|
56
|
+
enableBridgelessArchitecture: Getter<boolean>;
|
|
57
|
+
enableBufferedCallInvoker: Getter<boolean>;
|
|
58
|
+
enableCppPropsIteratorSetter: Getter<boolean>;
|
|
59
|
+
enableCustomFocusSearchOnClippedElementsAndroid: Getter<boolean>;
|
|
60
|
+
enableDestroyShadowTreeRevisionAsync: Getter<boolean>;
|
|
61
|
+
enableDoubleMeasurementFixAndroid: Getter<boolean>;
|
|
62
|
+
enableEagerRootViewAttachment: Getter<boolean>;
|
|
63
|
+
enableExclusivePropsUpdateAndroid: Getter<boolean>;
|
|
64
|
+
enableFabricCommitBranching: Getter<boolean>;
|
|
65
|
+
enableFabricLogs: Getter<boolean>;
|
|
66
|
+
enableFlexboxAutoMinSizeInStrictMode: Getter<boolean>;
|
|
67
|
+
enableFontScaleChangesUpdatingLayout: Getter<boolean>;
|
|
68
|
+
enableIOSCompressedTextFrameAdjustment: Getter<boolean>;
|
|
69
|
+
enableIOSTextBaselineOffsetPerLine: Getter<boolean>;
|
|
70
|
+
enableIOSViewClipToPaddingBox: Getter<boolean>;
|
|
71
|
+
enableImagePrefetchingAndroid: Getter<boolean>;
|
|
72
|
+
enableImageTransparentTintColor: Getter<boolean>;
|
|
73
|
+
enableImmediateUpdateModeForContentOffsetChanges: Getter<boolean>;
|
|
74
|
+
enableImperativeEvents: Getter<boolean>;
|
|
75
|
+
enableImperativeFocus: Getter<boolean>;
|
|
76
|
+
enableInteropViewManagerClassLookUpOptimizationIOS: Getter<boolean>;
|
|
77
|
+
enableIntersectionObserverByDefault: Getter<boolean>;
|
|
78
|
+
enableKeyEvents: Getter<boolean>;
|
|
79
|
+
enableLayoutAnimationsOnAndroid: Getter<boolean>;
|
|
80
|
+
enableLayoutAnimationsOnIOS: Getter<boolean>;
|
|
81
|
+
enableModuleArgumentNSNullConversionIOS: Getter<boolean>;
|
|
82
|
+
enableMountingCoordinatorPullModelAndroid: Getter<boolean>;
|
|
83
|
+
enableMutationObserverByDefault: Getter<boolean>;
|
|
84
|
+
enableNativeCSSParsing: Getter<boolean>;
|
|
85
|
+
enablePreparedTextLayout: Getter<boolean>;
|
|
86
|
+
enablePropsUpdateReconciliationAndroid: Getter<boolean>;
|
|
87
|
+
enableResizeObserverByDefault: Getter<boolean>;
|
|
88
|
+
enableSwiftUIBasedFilters: Getter<boolean>;
|
|
89
|
+
enableViewCulling: Getter<boolean>;
|
|
90
|
+
enableViewRecycling: Getter<boolean>;
|
|
91
|
+
enableViewRecyclingForImage: Getter<boolean>;
|
|
92
|
+
enableViewRecyclingForScrollView: Getter<boolean>;
|
|
93
|
+
enableViewRecyclingForText: Getter<boolean>;
|
|
94
|
+
enableViewRecyclingForView: Getter<boolean>;
|
|
95
|
+
enableVirtualViewContainerStateExperimental: Getter<boolean>;
|
|
96
|
+
fixDifferentiatorParentTagForUnflattenCase: Getter<boolean>;
|
|
97
|
+
fixMappingOfEventPrioritiesBetweenFabricAndReact: Getter<boolean>;
|
|
98
|
+
fixYogaFlexBasisFitContentInMainAxis: Getter<boolean>;
|
|
99
|
+
fuseboxAssertSingleHostState: Getter<boolean>;
|
|
100
|
+
fuseboxEnabledRelease: Getter<boolean>;
|
|
101
|
+
fuseboxFrameRecordingEnabled: Getter<boolean>;
|
|
102
|
+
fuseboxScreenshotCaptureEnabled: Getter<boolean>;
|
|
103
|
+
fuseboxWebSocketEventsEnabled: Getter<boolean>;
|
|
104
|
+
optimizedAnimatedPropUpdates: Getter<boolean>;
|
|
105
|
+
overrideBySynchronousMountPropsAtMountingAndroid: Getter<boolean>;
|
|
106
|
+
perfIssuesEnabled: Getter<boolean>;
|
|
107
|
+
perfMonitorV2Enabled: Getter<boolean>;
|
|
108
|
+
preparedTextCacheSize: Getter<number>;
|
|
109
|
+
preventShadowTreeCommitExhaustion: Getter<boolean>;
|
|
110
|
+
redBoxV2Android: Getter<boolean>;
|
|
111
|
+
redBoxV2IOS: Getter<boolean>;
|
|
112
|
+
shouldPressibilityUseW3CPointerEventsForHover: Getter<boolean>;
|
|
113
|
+
shouldTriggerResponderTransferOnScrollAndroid: Getter<boolean>;
|
|
114
|
+
skipActivityIdentityAssertionOnHostPause: Getter<boolean>;
|
|
115
|
+
syncAndroidClipBoundsWithOverflow: Getter<boolean>;
|
|
116
|
+
traceTurboModulePromiseRejectionsOnAndroid: Getter<boolean>;
|
|
117
|
+
updateRuntimeShadowNodeReferencesOnCommit: Getter<boolean>;
|
|
118
|
+
updateRuntimeShadowNodeReferencesOnCommitThread: Getter<boolean>;
|
|
119
|
+
useAlwaysAvailableJSErrorHandling: Getter<boolean>;
|
|
120
|
+
useFabricInterop: Getter<boolean>;
|
|
121
|
+
useNativeViewConfigsInBridgelessMode: Getter<boolean>;
|
|
122
|
+
useNestedScrollViewAndroid: Getter<boolean>;
|
|
123
|
+
useSharedAnimatedBackend: Getter<boolean>;
|
|
124
|
+
useTraitHiddenOnAndroid: Getter<boolean>;
|
|
125
|
+
useTurboModuleInterop: Getter<boolean>;
|
|
126
|
+
viewCullingOutsetRatio: Getter<number>;
|
|
127
|
+
viewTransitionEnabled: Getter<boolean>;
|
|
128
|
+
viewTransitionUseHardwareBitmapAndroid: Getter<boolean>;
|
|
129
|
+
virtualViewPrerenderRatio: Getter<number>;
|
|
130
|
+
}>;
|
|
131
|
+
/**
|
|
132
|
+
* JS-only flag for testing. Do NOT modify.
|
|
133
|
+
*/
|
|
134
|
+
export declare const jsOnlyTestFlag: Getter<boolean>;
|
|
135
|
+
export declare type jsOnlyTestFlag = typeof jsOnlyTestFlag;
|
|
136
|
+
/**
|
|
137
|
+
* When enabled, the JS Animated layer defers the start of native-driven timing animations to the first rendered frame and re-anchors timing to prevent skipping initial frames when the UI thread is busy with layout work.
|
|
138
|
+
*/
|
|
139
|
+
export declare const animatedDeferStartOfTimingAnimations: Getter<boolean>;
|
|
140
|
+
export declare type animatedDeferStartOfTimingAnimations = typeof animatedDeferStartOfTimingAnimations;
|
|
141
|
+
/**
|
|
142
|
+
* When enabled, forces `useNativeDriver` to `true` for all Animated animations and events, overriding the config (including an explicit `false`). Has no effect unless the shared animated backend is enabled, which is required to support native driver for all props.
|
|
143
|
+
*/
|
|
144
|
+
export declare const animatedForceNativeDriver: Getter<boolean>;
|
|
145
|
+
export declare type animatedForceNativeDriver = typeof animatedForceNativeDriver;
|
|
146
|
+
/**
|
|
147
|
+
* When enabled, detaching an animated node from the graph retains listeners registered with `addListener` instead of removing them, so an `Animated.Value` that outlives the components using it still notifies them once it is attached again.
|
|
148
|
+
*/
|
|
149
|
+
export declare const animatedKeepListenersOnDetach: Getter<boolean>;
|
|
150
|
+
export declare type animatedKeepListenersOnDetach = typeof animatedKeepListenersOnDetach;
|
|
151
|
+
/**
|
|
152
|
+
* When a useNativeDriver animation completes, syncs the JS-side AnimatedValue with the post-animation value BEFORE invoking the user-supplied start({finished}) callback. Without the flag, the callback observes the pre-animation value, which can cause downstream re-renders to read stale interpolation outputs.
|
|
153
|
+
*/
|
|
154
|
+
export declare const animatedShouldSyncValueBeforeStartCallback: Getter<boolean>;
|
|
155
|
+
export declare type animatedShouldSyncValueBeforeStartCallback = typeof animatedShouldSyncValueBeforeStartCallback;
|
|
156
|
+
/**
|
|
157
|
+
* Use the deferred cell render update mechanism for focus change in FlatList.
|
|
158
|
+
*/
|
|
159
|
+
export declare const deferFlatListFocusChangeRenderUpdate: Getter<boolean>;
|
|
160
|
+
export declare type deferFlatListFocusChangeRenderUpdate = typeof deferFlatListFocusChangeRenderUpdate;
|
|
161
|
+
/**
|
|
162
|
+
* Deprecated in favor of the common flag with the same name, which is the one that can be configured by OSS release stage. This is only kept so JS bundles delivered to older native builds, where the common flag is unavailable, can still enable the feature.
|
|
163
|
+
*/
|
|
164
|
+
export declare const enableImperativeEvents_DEPRECATED: Getter<boolean>;
|
|
165
|
+
export declare type enableImperativeEvents_DEPRECATED = typeof enableImperativeEvents_DEPRECATED;
|
|
166
|
+
/**
|
|
167
|
+
* When enabled, the React Native renderer dispatches events through the W3C EventTarget API (addEventListener/dispatchEvent) instead of the legacy plugin-based system.
|
|
168
|
+
*/
|
|
169
|
+
export declare const enableNativeEventTargetEventDispatching: Getter<boolean>;
|
|
170
|
+
export declare type enableNativeEventTargetEventDispatching = typeof enableNativeEventTargetEventDispatching;
|
|
171
|
+
/**
|
|
172
|
+
* Enable the external inspection API for DevTools to communicate with the Inspector overlay.
|
|
173
|
+
*/
|
|
174
|
+
export declare const externalElementInspectionEnabled: Getter<boolean>;
|
|
175
|
+
export declare type externalElementInspectionEnabled = typeof externalElementInspectionEnabled;
|
|
176
|
+
/**
|
|
177
|
+
* Fixing an edge case where the current window size is not properly calculated with fast scrolling. Window size collapsed to 1 element even if windowSize more than the current amount of elements
|
|
178
|
+
*/
|
|
179
|
+
export declare const fixVirtualizeListCollapseWindowSize: Getter<boolean>;
|
|
180
|
+
export declare type fixVirtualizeListCollapseWindowSize = typeof fixVirtualizeListCollapseWindowSize;
|
|
181
|
+
/**
|
|
182
|
+
* Function used to enable / disabled Layout Animations in React Native.
|
|
183
|
+
*/
|
|
184
|
+
export declare const isLayoutAnimationEnabled: Getter<boolean>;
|
|
185
|
+
export declare type isLayoutAnimationEnabled = typeof isLayoutAnimationEnabled;
|
|
186
|
+
/**
|
|
187
|
+
* Enables use of AnimatedObject for animating transform values.
|
|
188
|
+
*/
|
|
189
|
+
export declare const shouldUseAnimatedObjectForTransform: Getter<boolean>;
|
|
190
|
+
export declare type shouldUseAnimatedObjectForTransform = typeof shouldUseAnimatedObjectForTransform;
|
|
191
|
+
/**
|
|
192
|
+
* removeClippedSubviews prop will be used as the default in FlatList on iOS to match Android
|
|
193
|
+
*/
|
|
194
|
+
export declare const shouldUseRemoveClippedSubviewsAsDefaultOnIOS: Getter<boolean>;
|
|
195
|
+
export declare type shouldUseRemoveClippedSubviewsAsDefaultOnIOS = typeof shouldUseRemoveClippedSubviewsAsDefaultOnIOS;
|
|
196
|
+
/**
|
|
197
|
+
* Enables use of setNativeProps in JS driven animations.
|
|
198
|
+
*/
|
|
199
|
+
export declare const shouldUseSetNativePropsInFabric: Getter<boolean>;
|
|
200
|
+
export declare type shouldUseSetNativePropsInFabric = typeof shouldUseSetNativePropsInFabric;
|
|
201
|
+
/**
|
|
202
|
+
* Common flag for testing. Do NOT modify.
|
|
203
|
+
*/
|
|
204
|
+
export declare const commonTestFlag: Getter<boolean>;
|
|
205
|
+
export declare type commonTestFlag = typeof commonTestFlag;
|
|
206
|
+
/**
|
|
207
|
+
* Common flag for testing (without native implementation). Do NOT modify.
|
|
208
|
+
*/
|
|
209
|
+
export declare const commonTestFlagWithoutNativeImplementation: Getter<boolean>;
|
|
210
|
+
export declare type commonTestFlagWithoutNativeImplementation = typeof commonTestFlagWithoutNativeImplementation;
|
|
211
|
+
/**
|
|
212
|
+
* Enable emitting of InteractionEntry live metrics to the debugger. Requires `enableBridgelessArchitecture`.
|
|
213
|
+
*/
|
|
214
|
+
export declare const cdpInteractionMetricsEnabled: Getter<boolean>;
|
|
215
|
+
export declare type cdpInteractionMetricsEnabled = typeof cdpInteractionMetricsEnabled;
|
|
216
|
+
/**
|
|
217
|
+
* Use a C++ implementation of Native Animated instead of the platform implementation.
|
|
218
|
+
*/
|
|
219
|
+
export declare const cxxNativeAnimatedEnabled: Getter<boolean>;
|
|
220
|
+
export declare type cxxNativeAnimatedEnabled = typeof cxxNativeAnimatedEnabled;
|
|
221
|
+
/**
|
|
222
|
+
* When enabled, sets the default overflow style for Text components to hidden instead of visible.
|
|
223
|
+
*/
|
|
224
|
+
export declare const defaultTextToOverflowHidden: Getter<boolean>;
|
|
225
|
+
export declare type defaultTextToOverflowHidden = typeof defaultTextToOverflowHidden;
|
|
226
|
+
/**
|
|
227
|
+
* Dispatch view commands in mount item order.
|
|
228
|
+
*/
|
|
229
|
+
export declare const disableEarlyViewCommandExecution: Getter<boolean>;
|
|
230
|
+
export declare type disableEarlyViewCommandExecution = typeof disableEarlyViewCommandExecution;
|
|
231
|
+
/**
|
|
232
|
+
* Force disable view preallocation for images triggered from createNode off the main thread on Android
|
|
233
|
+
*/
|
|
234
|
+
export declare const disableImageViewPreallocationAndroid: Getter<boolean>;
|
|
235
|
+
export declare type disableImageViewPreallocationAndroid = typeof disableImageViewPreallocationAndroid;
|
|
236
|
+
/**
|
|
237
|
+
* Prevent FabricMountingManager from reordering mountItems, which may lead to invalid state on the UI thread
|
|
238
|
+
*/
|
|
239
|
+
export declare const disableMountItemReorderingAndroid: Getter<boolean>;
|
|
240
|
+
export declare type disableMountItemReorderingAndroid = typeof disableMountItemReorderingAndroid;
|
|
241
|
+
/**
|
|
242
|
+
* Force disable subview clipping for ReactViewGroup on Android
|
|
243
|
+
*/
|
|
244
|
+
export declare const disableSubviewClippingAndroid: Getter<boolean>;
|
|
245
|
+
export declare type disableSubviewClippingAndroid = typeof disableSubviewClippingAndroid;
|
|
246
|
+
/**
|
|
247
|
+
* Turns off the global measurement cache used by TextLayoutManager on Android.
|
|
248
|
+
*/
|
|
249
|
+
export declare const disableTextLayoutManagerCacheAndroid: Getter<boolean>;
|
|
250
|
+
export declare type disableTextLayoutManagerCacheAndroid = typeof disableTextLayoutManagerCacheAndroid;
|
|
251
|
+
/**
|
|
252
|
+
* Force disable view preallocation triggered from createNode off the main thread on Android
|
|
253
|
+
*/
|
|
254
|
+
export declare const disableViewPreallocationAndroid: Getter<boolean>;
|
|
255
|
+
export declare type disableViewPreallocationAndroid = typeof disableViewPreallocationAndroid;
|
|
256
|
+
/**
|
|
257
|
+
* When enabled, the accessibilityOrder prop will propagate to native platforms and define the accessibility order.
|
|
258
|
+
*/
|
|
259
|
+
export declare const enableAccessibilityOrder: Getter<boolean>;
|
|
260
|
+
export declare type enableAccessibilityOrder = typeof enableAccessibilityOrder;
|
|
261
|
+
/**
|
|
262
|
+
* When enabled, Android will accumulate updates in rawProps to reduce the number of mounting instructions for cascading re-renders.
|
|
263
|
+
*/
|
|
264
|
+
export declare const enableAccumulatedUpdatesInRawPropsAndroid: Getter<boolean>;
|
|
265
|
+
export declare type enableAccumulatedUpdatesInRawPropsAndroid = typeof enableAccumulatedUpdatesInRawPropsAndroid;
|
|
266
|
+
/**
|
|
267
|
+
* Enables various optimizations throughout the path of measuring text on Android.
|
|
268
|
+
*/
|
|
269
|
+
export declare const enableAndroidTextMeasurementOptimizations: Getter<boolean>;
|
|
270
|
+
export declare type enableAndroidTextMeasurementOptimizations = typeof enableAndroidTextMeasurementOptimizations;
|
|
271
|
+
/**
|
|
272
|
+
* Feature flag to enable the new bridgeless architecture.
|
|
273
|
+
*/
|
|
274
|
+
export declare const enableBridgelessArchitecture: Getter<boolean>;
|
|
275
|
+
export declare type enableBridgelessArchitecture = typeof enableBridgelessArchitecture;
|
|
276
|
+
/**
|
|
277
|
+
* Route async CallInvoker work through the ReactInstance buffered runtime executor, so it is ordered against callable module calls and cannot run before the JS bundle has finished evaluating. invokeSync is unaffected.
|
|
278
|
+
*/
|
|
279
|
+
export declare const enableBufferedCallInvoker: Getter<boolean>;
|
|
280
|
+
export declare type enableBufferedCallInvoker = typeof enableBufferedCallInvoker;
|
|
281
|
+
/**
|
|
282
|
+
* Enable prop iterator setter-style construction of Props in C++ (this flag is not used in Java).
|
|
283
|
+
*/
|
|
284
|
+
export declare const enableCppPropsIteratorSetter: Getter<boolean>;
|
|
285
|
+
export declare type enableCppPropsIteratorSetter = typeof enableCppPropsIteratorSetter;
|
|
286
|
+
/**
|
|
287
|
+
* This enables the fabric implementation of focus search so that we can focus clipped elements
|
|
288
|
+
*/
|
|
289
|
+
export declare const enableCustomFocusSearchOnClippedElementsAndroid: Getter<boolean>;
|
|
290
|
+
export declare type enableCustomFocusSearchOnClippedElementsAndroid = typeof enableCustomFocusSearchOnClippedElementsAndroid;
|
|
291
|
+
/**
|
|
292
|
+
* Enables destructor calls for ShadowTreeRevision in the background to reduce UI thread work.
|
|
293
|
+
*/
|
|
294
|
+
export declare const enableDestroyShadowTreeRevisionAsync: Getter<boolean>;
|
|
295
|
+
export declare type enableDestroyShadowTreeRevisionAsync = typeof enableDestroyShadowTreeRevisionAsync;
|
|
296
|
+
/**
|
|
297
|
+
* When enabled a subset of components will avoid double measurement on Android.
|
|
298
|
+
*/
|
|
299
|
+
export declare const enableDoubleMeasurementFixAndroid: Getter<boolean>;
|
|
300
|
+
export declare type enableDoubleMeasurementFixAndroid = typeof enableDoubleMeasurementFixAndroid;
|
|
301
|
+
/**
|
|
302
|
+
* Feature flag to configure eager attachment of the root view/initialisation of the JS code.
|
|
303
|
+
*/
|
|
304
|
+
export declare const enableEagerRootViewAttachment: Getter<boolean>;
|
|
305
|
+
export declare type enableEagerRootViewAttachment = typeof enableEagerRootViewAttachment;
|
|
306
|
+
/**
|
|
307
|
+
* When enabled, Android will disable Props 1.5 raw value merging when Props 2.0 is available.
|
|
308
|
+
*/
|
|
309
|
+
export declare const enableExclusivePropsUpdateAndroid: Getter<boolean>;
|
|
310
|
+
export declare type enableExclusivePropsUpdateAndroid = typeof enableExclusivePropsUpdateAndroid;
|
|
311
|
+
/**
|
|
312
|
+
* Enables Fabric commit branching to fix starvation problems and atomic JS updates.
|
|
313
|
+
*/
|
|
314
|
+
export declare const enableFabricCommitBranching: Getter<boolean>;
|
|
315
|
+
export declare type enableFabricCommitBranching = typeof enableFabricCommitBranching;
|
|
316
|
+
/**
|
|
317
|
+
* This feature flag enables logs for Fabric.
|
|
318
|
+
*/
|
|
319
|
+
export declare const enableFabricLogs: Getter<boolean>;
|
|
320
|
+
export declare type enableFabricLogs = typeof enableFabricLogs;
|
|
321
|
+
/**
|
|
322
|
+
* Enables CSS Flexbox §4.5 automatic minimum sizing under strict layout conformance. When enabled, a flex item with an undefined main-axis `min-width`/`min-height` under strict conformance receives a content-derived minimum size (per spec) instead of an undefined (0) minimum. Defaults off so the behaviour can be ramped independently of strict conformance.
|
|
323
|
+
*/
|
|
324
|
+
export declare const enableFlexboxAutoMinSizeInStrictMode: Getter<boolean>;
|
|
325
|
+
export declare type enableFlexboxAutoMinSizeInStrictMode = typeof enableFlexboxAutoMinSizeInStrictMode;
|
|
326
|
+
/**
|
|
327
|
+
* Enables font scale changes updating layout for measurable nodes.
|
|
328
|
+
*/
|
|
329
|
+
export declare const enableFontScaleChangesUpdatingLayout: Getter<boolean>;
|
|
330
|
+
export declare type enableFontScaleChangesUpdatingLayout = typeof enableFontScaleChangesUpdatingLayout;
|
|
331
|
+
/**
|
|
332
|
+
* Adjusts iOS Text drawing frames for compressed explicit line heights.
|
|
333
|
+
*/
|
|
334
|
+
export declare const enableIOSCompressedTextFrameAdjustment: Getter<boolean>;
|
|
335
|
+
export declare type enableIOSCompressedTextFrameAdjustment = typeof enableIOSCompressedTextFrameAdjustment;
|
|
336
|
+
/**
|
|
337
|
+
* Applies base offset for each line of text separately on iOS.
|
|
338
|
+
*/
|
|
339
|
+
export declare const enableIOSTextBaselineOffsetPerLine: Getter<boolean>;
|
|
340
|
+
export declare type enableIOSTextBaselineOffsetPerLine = typeof enableIOSTextBaselineOffsetPerLine;
|
|
341
|
+
/**
|
|
342
|
+
* iOS Views will clip to their padding box vs border box
|
|
343
|
+
*/
|
|
344
|
+
export declare const enableIOSViewClipToPaddingBox: Getter<boolean>;
|
|
345
|
+
export declare type enableIOSViewClipToPaddingBox = typeof enableIOSViewClipToPaddingBox;
|
|
346
|
+
/**
|
|
347
|
+
* When enabled, Android will build and initiate image prefetch requests on ImageShadowNode::layout
|
|
348
|
+
*/
|
|
349
|
+
export declare const enableImagePrefetchingAndroid: Getter<boolean>;
|
|
350
|
+
export declare type enableImagePrefetchingAndroid = typeof enableImagePrefetchingAndroid;
|
|
351
|
+
/**
|
|
352
|
+
* When enabled, Image `tintColor` is handled as a true optional: any defined color is applied as a tint — including `transparent` (alpha 0), which renders the image invisible — and an unset value clears a previously applied tint. When disabled, the prior behavior is preserved, where a transparent `tintColor` is treated as unassigned and the image renders untinted.
|
|
353
|
+
*/
|
|
354
|
+
export declare const enableImageTransparentTintColor: Getter<boolean>;
|
|
355
|
+
export declare type enableImageTransparentTintColor = typeof enableImageTransparentTintColor;
|
|
356
|
+
/**
|
|
357
|
+
* Dispatches state updates for content offset changes synchronously on the main thread.
|
|
358
|
+
*/
|
|
359
|
+
export declare const enableImmediateUpdateModeForContentOffsetChanges: Getter<boolean>;
|
|
360
|
+
export declare type enableImmediateUpdateModeForContentOffsetChanges = typeof enableImmediateUpdateModeForContentOffsetChanges;
|
|
361
|
+
/**
|
|
362
|
+
* When enabled, ReactNativeElement and ReadOnlyText expose the public EventTarget API (addEventListener, removeEventListener, dispatchEvent). When disabled, those methods are removed from those final classes.
|
|
363
|
+
*/
|
|
364
|
+
export declare const enableImperativeEvents: Getter<boolean>;
|
|
365
|
+
export declare type enableImperativeEvents = typeof enableImperativeEvents;
|
|
366
|
+
/**
|
|
367
|
+
* Enable ref.focus() and ref.blur() for all views, not just TextInput.
|
|
368
|
+
*/
|
|
369
|
+
export declare const enableImperativeFocus: Getter<boolean>;
|
|
370
|
+
export declare type enableImperativeFocus = typeof enableImperativeFocus;
|
|
371
|
+
/**
|
|
372
|
+
* This is to fix the issue with interop view manager where component descriptor lookup is causing ViewManager to preload.
|
|
373
|
+
*/
|
|
374
|
+
export declare const enableInteropViewManagerClassLookUpOptimizationIOS: Getter<boolean>;
|
|
375
|
+
export declare type enableInteropViewManagerClassLookUpOptimizationIOS = typeof enableInteropViewManagerClassLookUpOptimizationIOS;
|
|
376
|
+
/**
|
|
377
|
+
* Enables the IntersectionObserver Web API in React Native.
|
|
378
|
+
*/
|
|
379
|
+
export declare const enableIntersectionObserverByDefault: Getter<boolean>;
|
|
380
|
+
export declare type enableIntersectionObserverByDefault = typeof enableIntersectionObserverByDefault;
|
|
381
|
+
/**
|
|
382
|
+
* Enables key up/down/press events to be sent to JS from components
|
|
383
|
+
*/
|
|
384
|
+
export declare const enableKeyEvents: Getter<boolean>;
|
|
385
|
+
export declare type enableKeyEvents = typeof enableKeyEvents;
|
|
386
|
+
/**
|
|
387
|
+
* When enabled, LayoutAnimations API will animate state changes on Android.
|
|
388
|
+
*/
|
|
389
|
+
export declare const enableLayoutAnimationsOnAndroid: Getter<boolean>;
|
|
390
|
+
export declare type enableLayoutAnimationsOnAndroid = typeof enableLayoutAnimationsOnAndroid;
|
|
391
|
+
/**
|
|
392
|
+
* When enabled, LayoutAnimations API will animate state changes on iOS.
|
|
393
|
+
*/
|
|
394
|
+
export declare const enableLayoutAnimationsOnIOS: Getter<boolean>;
|
|
395
|
+
export declare type enableLayoutAnimationsOnIOS = typeof enableLayoutAnimationsOnIOS;
|
|
396
|
+
/**
|
|
397
|
+
* Enable NSNull conversion when handling module arguments on iOS
|
|
398
|
+
*/
|
|
399
|
+
export declare const enableModuleArgumentNSNullConversionIOS: Getter<boolean>;
|
|
400
|
+
export declare type enableModuleArgumentNSNullConversionIOS = typeof enableModuleArgumentNSNullConversionIOS;
|
|
401
|
+
/**
|
|
402
|
+
* When enabled, Android mounts transactions with the pull model (like iOS): the commit thread no longer pulls and builds the mount batch in schedulerShouldRenderTransactions. Instead the UI thread pulls the transaction itself via a PullTransactionMountItem enqueued in the MountItemDispatcher, builds the IntBufferBatchMountItem, and applies it synchronously. Requires `enableAccumulatedUpdatesInRawPropsAndroid` to be enabled as well, since a single pull may collapse several commits into one diff and therefore needs complete accumulated rawProps; when used together with Props 2.0, also enable `enableExclusivePropsUpdateAndroid` and `enablePropsUpdateReconciliationAndroid`.
|
|
403
|
+
*/
|
|
404
|
+
export declare const enableMountingCoordinatorPullModelAndroid: Getter<boolean>;
|
|
405
|
+
export declare type enableMountingCoordinatorPullModelAndroid = typeof enableMountingCoordinatorPullModelAndroid;
|
|
406
|
+
/**
|
|
407
|
+
* Enables the MutationObserver Web API in React Native.
|
|
408
|
+
*/
|
|
409
|
+
export declare const enableMutationObserverByDefault: Getter<boolean>;
|
|
410
|
+
export declare type enableMutationObserverByDefault = typeof enableMutationObserverByDefault;
|
|
411
|
+
/**
|
|
412
|
+
* Parse CSS strings using the Fabric CSS parser instead of ViewConfig processing
|
|
413
|
+
*/
|
|
414
|
+
export declare const enableNativeCSSParsing: Getter<boolean>;
|
|
415
|
+
export declare type enableNativeCSSParsing = typeof enableNativeCSSParsing;
|
|
416
|
+
/**
|
|
417
|
+
* Enables caching text layout artifacts for later reuse
|
|
418
|
+
*/
|
|
419
|
+
export declare const enablePreparedTextLayout: Getter<boolean>;
|
|
420
|
+
export declare type enablePreparedTextLayout = typeof enablePreparedTextLayout;
|
|
421
|
+
/**
|
|
422
|
+
* When enabled, Android will receive prop updates based on the differences between the last rendered shadow node and the last committed shadow node.
|
|
423
|
+
*/
|
|
424
|
+
export declare const enablePropsUpdateReconciliationAndroid: Getter<boolean>;
|
|
425
|
+
export declare type enablePropsUpdateReconciliationAndroid = typeof enablePropsUpdateReconciliationAndroid;
|
|
426
|
+
/**
|
|
427
|
+
* Enables the ResizeObserver Web API in React Native.
|
|
428
|
+
*/
|
|
429
|
+
export declare const enableResizeObserverByDefault: Getter<boolean>;
|
|
430
|
+
export declare type enableResizeObserverByDefault = typeof enableResizeObserverByDefault;
|
|
431
|
+
/**
|
|
432
|
+
* When enabled, it will use SwiftUI for filter effects like blur on iOS.
|
|
433
|
+
*/
|
|
434
|
+
export declare const enableSwiftUIBasedFilters: Getter<boolean>;
|
|
435
|
+
export declare type enableSwiftUIBasedFilters = typeof enableSwiftUIBasedFilters;
|
|
436
|
+
/**
|
|
437
|
+
* Enables View Culling: as soon as a view goes off screen, it can be reused anywhere in the UI and pieced together with other items to create new UI elements.
|
|
438
|
+
*/
|
|
439
|
+
export declare const enableViewCulling: Getter<boolean>;
|
|
440
|
+
export declare type enableViewCulling = typeof enableViewCulling;
|
|
441
|
+
/**
|
|
442
|
+
* Enables View Recycling. When enabled, individual ViewManagers must still opt-in.
|
|
443
|
+
*/
|
|
444
|
+
export declare const enableViewRecycling: Getter<boolean>;
|
|
445
|
+
export declare type enableViewRecycling = typeof enableViewRecycling;
|
|
446
|
+
/**
|
|
447
|
+
* Enables View Recycling for <Image> via ReactViewGroup/ReactViewManager.
|
|
448
|
+
*/
|
|
449
|
+
export declare const enableViewRecyclingForImage: Getter<boolean>;
|
|
450
|
+
export declare type enableViewRecyclingForImage = typeof enableViewRecyclingForImage;
|
|
451
|
+
/**
|
|
452
|
+
* Enables View Recycling for <ScrollView> via ReactViewGroup/ReactViewManager.
|
|
453
|
+
*/
|
|
454
|
+
export declare const enableViewRecyclingForScrollView: Getter<boolean>;
|
|
455
|
+
export declare type enableViewRecyclingForScrollView = typeof enableViewRecyclingForScrollView;
|
|
456
|
+
/**
|
|
457
|
+
* Enables View Recycling for <Text> via ReactTextView/ReactTextViewManager.
|
|
458
|
+
*/
|
|
459
|
+
export declare const enableViewRecyclingForText: Getter<boolean>;
|
|
460
|
+
export declare type enableViewRecyclingForText = typeof enableViewRecyclingForText;
|
|
461
|
+
/**
|
|
462
|
+
* Enables View Recycling for <View> via ReactViewGroup/ReactViewManager.
|
|
463
|
+
*/
|
|
464
|
+
export declare const enableViewRecyclingForView: Getter<boolean>;
|
|
465
|
+
export declare type enableViewRecyclingForView = typeof enableViewRecyclingForView;
|
|
466
|
+
/**
|
|
467
|
+
* Enables the experimental version of `VirtualViewContainerState`.
|
|
468
|
+
*/
|
|
469
|
+
export declare const enableVirtualViewContainerStateExperimental: Getter<boolean>;
|
|
470
|
+
export declare type enableVirtualViewContainerStateExperimental = typeof enableVirtualViewContainerStateExperimental;
|
|
471
|
+
/**
|
|
472
|
+
* Fix incorrect parentTag passed as parentTagForUpdate in the unflatten-unflatten branch of calculateShadowViewMutationsFlattener, which causes UPDATE mutations to reference a parent being created in the same batch.
|
|
473
|
+
*/
|
|
474
|
+
export declare const fixDifferentiatorParentTagForUnflattenCase: Getter<boolean>;
|
|
475
|
+
export declare type fixDifferentiatorParentTagForUnflattenCase = typeof fixDifferentiatorParentTagForUnflattenCase;
|
|
476
|
+
/**
|
|
477
|
+
* Uses the default event priority instead of the discreet event priority by default when dispatching events from Fabric to React.
|
|
478
|
+
*/
|
|
479
|
+
export declare const fixMappingOfEventPrioritiesBetweenFabricAndReact: Getter<boolean>;
|
|
480
|
+
export declare type fixMappingOfEventPrioritiesBetweenFabricAndReact = typeof fixMappingOfEventPrioritiesBetweenFabricAndReact;
|
|
481
|
+
/**
|
|
482
|
+
* Fix flex basis computation to not apply FitContent constraint in the main axis for non-measure container nodes, preventing unnecessary re-measurement in scroll containers.
|
|
483
|
+
*/
|
|
484
|
+
export declare const fixYogaFlexBasisFitContentInMainAxis: Getter<boolean>;
|
|
485
|
+
export declare type fixYogaFlexBasisFitContentInMainAxis = typeof fixYogaFlexBasisFitContentInMainAxis;
|
|
486
|
+
/**
|
|
487
|
+
* Enable system assertion validating that Fusebox is configured with a single host. When set, the CDP backend will dynamically disable features (Perf and Network) in the event that multiple hosts are registered (undefined behaviour), and broadcast this over `ReactNativeApplication.systemStateChanged`.
|
|
488
|
+
*/
|
|
489
|
+
export declare const fuseboxAssertSingleHostState: Getter<boolean>;
|
|
490
|
+
export declare type fuseboxAssertSingleHostState = typeof fuseboxAssertSingleHostState;
|
|
491
|
+
/**
|
|
492
|
+
* Flag determining if the React Native DevTools (Fusebox) CDP backend should be enabled in release builds. This flag is global and should not be changed across React Host lifetimes.
|
|
493
|
+
*/
|
|
494
|
+
export declare const fuseboxEnabledRelease: Getter<boolean>;
|
|
495
|
+
export declare type fuseboxEnabledRelease = typeof fuseboxEnabledRelease;
|
|
496
|
+
/**
|
|
497
|
+
* Enable frame timings and screenshots support in the React Native DevTools CDP backend. This flag is global and should not be changed across React Host lifetimes.
|
|
498
|
+
*/
|
|
499
|
+
export declare const fuseboxFrameRecordingEnabled: Getter<boolean>;
|
|
500
|
+
export declare type fuseboxFrameRecordingEnabled = typeof fuseboxFrameRecordingEnabled;
|
|
501
|
+
/**
|
|
502
|
+
* Enable Page.captureScreenshot CDP method support in the React Native DevTools CDP backend. This flag is global and should not be changed across React Host lifetimes.
|
|
503
|
+
*/
|
|
504
|
+
export declare const fuseboxScreenshotCaptureEnabled: Getter<boolean>;
|
|
505
|
+
export declare type fuseboxScreenshotCaptureEnabled = typeof fuseboxScreenshotCaptureEnabled;
|
|
506
|
+
/**
|
|
507
|
+
* Enable reporting of WebSocket network events (`Network.webSocket*` CDP events) to the React Native DevTools CDP backend.
|
|
508
|
+
*/
|
|
509
|
+
export declare const fuseboxWebSocketEventsEnabled: Getter<boolean>;
|
|
510
|
+
export declare type fuseboxWebSocketEventsEnabled = typeof fuseboxWebSocketEventsEnabled;
|
|
511
|
+
/**
|
|
512
|
+
* When enabled, uses optimized platform-specific paths to apply animated props synchronously. On Android, this uses a batched int/double buffer protocol with a single JNI call. On iOS, this passes AnimatedProps directly through the delegate chain and applies them via cloneProps, avoiding the folly::dynamic round-trip.
|
|
513
|
+
*/
|
|
514
|
+
export declare const optimizedAnimatedPropUpdates: Getter<boolean>;
|
|
515
|
+
export declare type optimizedAnimatedPropUpdates = typeof optimizedAnimatedPropUpdates;
|
|
516
|
+
/**
|
|
517
|
+
* Override props at mounting with synchronously mounted (i.e. direct manipulation) props from Native Animated.
|
|
518
|
+
*/
|
|
519
|
+
export declare const overrideBySynchronousMountPropsAtMountingAndroid: Getter<boolean>;
|
|
520
|
+
export declare type overrideBySynchronousMountPropsAtMountingAndroid = typeof overrideBySynchronousMountPropsAtMountingAndroid;
|
|
521
|
+
/**
|
|
522
|
+
* Enable reporting Performance Issues (`detail.devtools.performanceIssue`). Displayed in the V2 Performance Monitor and the "Performance Issues" sub-panel in DevTools.
|
|
523
|
+
*/
|
|
524
|
+
export declare const perfIssuesEnabled: Getter<boolean>;
|
|
525
|
+
export declare type perfIssuesEnabled = typeof perfIssuesEnabled;
|
|
526
|
+
/**
|
|
527
|
+
* Enable the V2 in-app Performance Monitor. This flag is global and should not be changed across React Host lifetimes.
|
|
528
|
+
*/
|
|
529
|
+
export declare const perfMonitorV2Enabled: Getter<boolean>;
|
|
530
|
+
export declare type perfMonitorV2Enabled = typeof perfMonitorV2Enabled;
|
|
531
|
+
/**
|
|
532
|
+
* Number cached PreparedLayouts in TextLayoutManager cache
|
|
533
|
+
*/
|
|
534
|
+
export declare const preparedTextCacheSize: Getter<number>;
|
|
535
|
+
export declare type preparedTextCacheSize = typeof preparedTextCacheSize;
|
|
536
|
+
/**
|
|
537
|
+
* Enables a new mechanism in ShadowTree to prevent problems caused by multiple threads trying to commit concurrently. If a thread tries to commit a few times unsuccessfully, it will acquire a lock and try again.
|
|
538
|
+
*/
|
|
539
|
+
export declare const preventShadowTreeCommitExhaustion: Getter<boolean>;
|
|
540
|
+
export declare type preventShadowTreeCommitExhaustion = typeof preventShadowTreeCommitExhaustion;
|
|
541
|
+
/**
|
|
542
|
+
* Use the redesigned RedBox error overlay on Android, styled to match the LogBox visual language.
|
|
543
|
+
*/
|
|
544
|
+
export declare const redBoxV2Android: Getter<boolean>;
|
|
545
|
+
export declare type redBoxV2Android = typeof redBoxV2Android;
|
|
546
|
+
/**
|
|
547
|
+
* Use the redesigned RedBox error overlay on iOS, styled to match the LogBox visual language.
|
|
548
|
+
*/
|
|
549
|
+
export declare const redBoxV2IOS: Getter<boolean>;
|
|
550
|
+
export declare type redBoxV2IOS = typeof redBoxV2IOS;
|
|
551
|
+
/**
|
|
552
|
+
* Function used to enable / disable Pressibility from using W3C Pointer Events for its hover callbacks
|
|
553
|
+
*/
|
|
554
|
+
export declare const shouldPressibilityUseW3CPointerEventsForHover: Getter<boolean>;
|
|
555
|
+
export declare type shouldPressibilityUseW3CPointerEventsForHover = typeof shouldPressibilityUseW3CPointerEventsForHover;
|
|
556
|
+
/**
|
|
557
|
+
* Do not emit touchcancel from Android ScrollView, instead native topScroll event will trigger responder transfer and terminate in RN renderer.
|
|
558
|
+
*/
|
|
559
|
+
export declare const shouldTriggerResponderTransferOnScrollAndroid: Getter<boolean>;
|
|
560
|
+
export declare type shouldTriggerResponderTransferOnScrollAndroid = typeof shouldTriggerResponderTransferOnScrollAndroid;
|
|
561
|
+
/**
|
|
562
|
+
* Skip activity identity assertion in ReactHostImpl::onHostPause()
|
|
563
|
+
*/
|
|
564
|
+
export declare const skipActivityIdentityAssertionOnHostPause: Getter<boolean>;
|
|
565
|
+
export declare type skipActivityIdentityAssertionOnHostPause = typeof skipActivityIdentityAssertionOnHostPause;
|
|
566
|
+
/**
|
|
567
|
+
* Override getClipBounds on Android views to return the padding box when overflow is hidden
|
|
568
|
+
*/
|
|
569
|
+
export declare const syncAndroidClipBoundsWithOverflow: Getter<boolean>;
|
|
570
|
+
export declare type syncAndroidClipBoundsWithOverflow = typeof syncAndroidClipBoundsWithOverflow;
|
|
571
|
+
/**
|
|
572
|
+
* Enables storing js caller stack when creating promise in native module. This is useful in case of Promise rejection and tracing the cause.
|
|
573
|
+
*/
|
|
574
|
+
export declare const traceTurboModulePromiseRejectionsOnAndroid: Getter<boolean>;
|
|
575
|
+
export declare type traceTurboModulePromiseRejectionsOnAndroid = typeof traceTurboModulePromiseRejectionsOnAndroid;
|
|
576
|
+
/**
|
|
577
|
+
* When enabled, runtime shadow node references will be updated during the commit. This allows running RSNRU from any thread without corrupting the renderer state.
|
|
578
|
+
*/
|
|
579
|
+
export declare const updateRuntimeShadowNodeReferencesOnCommit: Getter<boolean>;
|
|
580
|
+
export declare type updateRuntimeShadowNodeReferencesOnCommit = typeof updateRuntimeShadowNodeReferencesOnCommit;
|
|
581
|
+
/**
|
|
582
|
+
* When enabled, runtime shadow node references will be updated during the commit only on the allowed thread.
|
|
583
|
+
*/
|
|
584
|
+
export declare const updateRuntimeShadowNodeReferencesOnCommitThread: Getter<boolean>;
|
|
585
|
+
export declare type updateRuntimeShadowNodeReferencesOnCommitThread = typeof updateRuntimeShadowNodeReferencesOnCommitThread;
|
|
586
|
+
/**
|
|
587
|
+
* In Bridgeless mode, use the always available javascript error reporting pipeline.
|
|
588
|
+
*/
|
|
589
|
+
export declare const useAlwaysAvailableJSErrorHandling: Getter<boolean>;
|
|
590
|
+
export declare type useAlwaysAvailableJSErrorHandling = typeof useAlwaysAvailableJSErrorHandling;
|
|
591
|
+
/**
|
|
592
|
+
* Should this application enable the Fabric Interop Layer for Android? If yes, the application will behave so that it can accept non-Fabric components and render them on Fabric. This toggle is controlling extra logic such as custom event dispatching that are needed for the Fabric Interop Layer to work correctly.
|
|
593
|
+
*/
|
|
594
|
+
export declare const useFabricInterop: Getter<boolean>;
|
|
595
|
+
export declare type useFabricInterop = typeof useFabricInterop;
|
|
596
|
+
/**
|
|
597
|
+
* When enabled, the native view configs are used in bridgeless mode.
|
|
598
|
+
*/
|
|
599
|
+
export declare const useNativeViewConfigsInBridgelessMode: Getter<boolean>;
|
|
600
|
+
export declare type useNativeViewConfigsInBridgelessMode = typeof useNativeViewConfigsInBridgelessMode;
|
|
601
|
+
/**
|
|
602
|
+
* When enabled, ReactScrollView will extend NestedScrollView instead of ScrollView on Android for improved nested scrolling support.
|
|
603
|
+
*/
|
|
604
|
+
export declare const useNestedScrollViewAndroid: Getter<boolean>;
|
|
605
|
+
export declare type useNestedScrollViewAndroid = typeof useNestedScrollViewAndroid;
|
|
606
|
+
/**
|
|
607
|
+
* Use shared animation backend in C++ Animated
|
|
608
|
+
*/
|
|
609
|
+
export declare const useSharedAnimatedBackend: Getter<boolean>;
|
|
610
|
+
export declare type useSharedAnimatedBackend = typeof useSharedAnimatedBackend;
|
|
611
|
+
/**
|
|
612
|
+
* Use Trait::hidden on Android
|
|
613
|
+
*/
|
|
614
|
+
export declare const useTraitHiddenOnAndroid: Getter<boolean>;
|
|
615
|
+
export declare type useTraitHiddenOnAndroid = typeof useTraitHiddenOnAndroid;
|
|
616
|
+
/**
|
|
617
|
+
* In Bridgeless mode, should legacy NativeModules use the TurboModule system?
|
|
618
|
+
*/
|
|
619
|
+
export declare const useTurboModuleInterop: Getter<boolean>;
|
|
620
|
+
export declare type useTurboModuleInterop = typeof useTurboModuleInterop;
|
|
621
|
+
/**
|
|
622
|
+
* 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.
|
|
623
|
+
*/
|
|
624
|
+
export declare const viewCullingOutsetRatio: Getter<number>;
|
|
625
|
+
export declare type viewCullingOutsetRatio = typeof viewCullingOutsetRatio;
|
|
626
|
+
/**
|
|
627
|
+
* Enable the View Transition API for animating transitions between views.
|
|
628
|
+
*/
|
|
629
|
+
export declare const viewTransitionEnabled: Getter<boolean>;
|
|
630
|
+
export declare type viewTransitionEnabled = typeof viewTransitionEnabled;
|
|
631
|
+
/**
|
|
632
|
+
* Use hardware bitmaps for view transition snapshots on Android.
|
|
633
|
+
*/
|
|
634
|
+
export declare const viewTransitionUseHardwareBitmapAndroid: Getter<boolean>;
|
|
635
|
+
export declare type viewTransitionUseHardwareBitmapAndroid = typeof viewTransitionUseHardwareBitmapAndroid;
|
|
636
|
+
/**
|
|
637
|
+
* Initial prerender ratio for VirtualView.
|
|
638
|
+
*/
|
|
639
|
+
export declare const virtualViewPrerenderRatio: Getter<number>;
|
|
640
|
+
export declare type virtualViewPrerenderRatio = typeof virtualViewPrerenderRatio;
|
|
641
|
+
/**
|
|
642
|
+
* Overrides the feature flags with the provided methods.
|
|
643
|
+
* NOTE: Only JS-only flags can be overridden from JavaScript using this API.
|
|
644
|
+
*/
|
|
645
|
+
export declare const override: typeof setOverrides;
|
|
646
|
+
export declare type override = typeof override;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<3f726257f68b8a5e94033b55e216f5f1>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/src/private/featureflags/ReactNativeFeatureFlagsBase.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import type { ReactNativeFeatureFlagsJsOnly, ReactNativeFeatureFlagsJsOnlyOverrides } from "./ReactNativeFeatureFlags";
|
|
14
|
+
import NativeReactNativeFeatureFlags from "./specs/NativeReactNativeFeatureFlags";
|
|
15
|
+
export type Getter<T> = () => T;
|
|
16
|
+
export type OverridesFor<T extends {
|
|
17
|
+
readonly [$$Key$$: string]: () => unknown;
|
|
18
|
+
}> = Partial<{ [key in keyof T]: Getter<null | undefined | ReturnType<T[key]>> }>;
|
|
19
|
+
export declare function createJavaScriptFlagGetter<K extends keyof ReactNativeFeatureFlagsJsOnly>(configName: K, defaultValue: ReturnType<ReactNativeFeatureFlagsJsOnly[K]>): Getter<ReturnType<ReactNativeFeatureFlagsJsOnly[K]>>;
|
|
20
|
+
type NativeFeatureFlags = NonNullable<typeof NativeReactNativeFeatureFlags>;
|
|
21
|
+
export declare function createNativeFlagGetter<K extends keyof NativeFeatureFlags>(configName: K, defaultValue: ReturnType<NonNullable<NativeFeatureFlags[K]>>, skipUnavailableNativeModuleError?: boolean): Getter<ReturnType<NonNullable<NativeFeatureFlags[K]>>>;
|
|
22
|
+
export declare function getOverrides(): null | undefined | ReactNativeFeatureFlagsJsOnlyOverrides;
|
|
23
|
+
export declare function setOverrides(newOverrides: ReactNativeFeatureFlagsJsOnlyOverrides): void;
|
|
24
|
+
export declare function dangerouslyResetForTesting(): void;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @generated SignedSource<<77332752cda558f1020473f04f9bcbb5>>
|
|
8
|
+
*
|
|
9
|
+
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
|
+
* Original file: packages/react-native/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* IMPORTANT: Do NOT modify this file directly.
|
|
15
|
+
*
|
|
16
|
+
* To change the definition of the flags, edit
|
|
17
|
+
* packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js.
|
|
18
|
+
*
|
|
19
|
+
* To regenerate this code, run the following script from the repo root:
|
|
20
|
+
* yarn featureflags --update
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
import type { TurboModule } from "../../../../Libraries/TurboModule/RCTExport";
|
|
24
|
+
export interface Spec extends TurboModule {
|
|
25
|
+
readonly commonTestFlag?: (() => boolean) | undefined;
|
|
26
|
+
readonly commonTestFlagWithoutNativeImplementation?: (() => boolean) | undefined;
|
|
27
|
+
readonly cdpInteractionMetricsEnabled?: (() => boolean) | undefined;
|
|
28
|
+
readonly cxxNativeAnimatedEnabled?: (() => boolean) | undefined;
|
|
29
|
+
readonly defaultTextToOverflowHidden?: (() => boolean) | undefined;
|
|
30
|
+
readonly disableEarlyViewCommandExecution?: (() => boolean) | undefined;
|
|
31
|
+
readonly disableImageViewPreallocationAndroid?: (() => boolean) | undefined;
|
|
32
|
+
readonly disableMountItemReorderingAndroid?: (() => boolean) | undefined;
|
|
33
|
+
readonly disableSubviewClippingAndroid?: (() => boolean) | undefined;
|
|
34
|
+
readonly disableTextLayoutManagerCacheAndroid?: (() => boolean) | undefined;
|
|
35
|
+
readonly disableViewPreallocationAndroid?: (() => boolean) | undefined;
|
|
36
|
+
readonly enableAccessibilityOrder?: (() => boolean) | undefined;
|
|
37
|
+
readonly enableAccumulatedUpdatesInRawPropsAndroid?: (() => boolean) | undefined;
|
|
38
|
+
readonly enableAndroidTextMeasurementOptimizations?: (() => boolean) | undefined;
|
|
39
|
+
readonly enableBridgelessArchitecture?: (() => boolean) | undefined;
|
|
40
|
+
readonly enableBufferedCallInvoker?: (() => boolean) | undefined;
|
|
41
|
+
readonly enableCppPropsIteratorSetter?: (() => boolean) | undefined;
|
|
42
|
+
readonly enableCustomFocusSearchOnClippedElementsAndroid?: (() => boolean) | undefined;
|
|
43
|
+
readonly enableDestroyShadowTreeRevisionAsync?: (() => boolean) | undefined;
|
|
44
|
+
readonly enableDoubleMeasurementFixAndroid?: (() => boolean) | undefined;
|
|
45
|
+
readonly enableEagerRootViewAttachment?: (() => boolean) | undefined;
|
|
46
|
+
readonly enableExclusivePropsUpdateAndroid?: (() => boolean) | undefined;
|
|
47
|
+
readonly enableFabricCommitBranching?: (() => boolean) | undefined;
|
|
48
|
+
readonly enableFabricLogs?: (() => boolean) | undefined;
|
|
49
|
+
readonly enableFlexboxAutoMinSizeInStrictMode?: (() => boolean) | undefined;
|
|
50
|
+
readonly enableFontScaleChangesUpdatingLayout?: (() => boolean) | undefined;
|
|
51
|
+
readonly enableIOSCompressedTextFrameAdjustment?: (() => boolean) | undefined;
|
|
52
|
+
readonly enableIOSTextBaselineOffsetPerLine?: (() => boolean) | undefined;
|
|
53
|
+
readonly enableIOSViewClipToPaddingBox?: (() => boolean) | undefined;
|
|
54
|
+
readonly enableImagePrefetchingAndroid?: (() => boolean) | undefined;
|
|
55
|
+
readonly enableImageTransparentTintColor?: (() => boolean) | undefined;
|
|
56
|
+
readonly enableImmediateUpdateModeForContentOffsetChanges?: (() => boolean) | undefined;
|
|
57
|
+
readonly enableImperativeEvents?: (() => boolean) | undefined;
|
|
58
|
+
readonly enableImperativeFocus?: (() => boolean) | undefined;
|
|
59
|
+
readonly enableInteropViewManagerClassLookUpOptimizationIOS?: (() => boolean) | undefined;
|
|
60
|
+
readonly enableIntersectionObserverByDefault?: (() => boolean) | undefined;
|
|
61
|
+
readonly enableKeyEvents?: (() => boolean) | undefined;
|
|
62
|
+
readonly enableLayoutAnimationsOnAndroid?: (() => boolean) | undefined;
|
|
63
|
+
readonly enableLayoutAnimationsOnIOS?: (() => boolean) | undefined;
|
|
64
|
+
readonly enableModuleArgumentNSNullConversionIOS?: (() => boolean) | undefined;
|
|
65
|
+
readonly enableMountingCoordinatorPullModelAndroid?: (() => boolean) | undefined;
|
|
66
|
+
readonly enableMutationObserverByDefault?: (() => boolean) | undefined;
|
|
67
|
+
readonly enableNativeCSSParsing?: (() => boolean) | undefined;
|
|
68
|
+
readonly enablePreparedTextLayout?: (() => boolean) | undefined;
|
|
69
|
+
readonly enablePropsUpdateReconciliationAndroid?: (() => boolean) | undefined;
|
|
70
|
+
readonly enableResizeObserverByDefault?: (() => boolean) | undefined;
|
|
71
|
+
readonly enableSwiftUIBasedFilters?: (() => boolean) | undefined;
|
|
72
|
+
readonly enableViewCulling?: (() => boolean) | undefined;
|
|
73
|
+
readonly enableViewRecycling?: (() => boolean) | undefined;
|
|
74
|
+
readonly enableViewRecyclingForImage?: (() => boolean) | undefined;
|
|
75
|
+
readonly enableViewRecyclingForScrollView?: (() => boolean) | undefined;
|
|
76
|
+
readonly enableViewRecyclingForText?: (() => boolean) | undefined;
|
|
77
|
+
readonly enableViewRecyclingForView?: (() => boolean) | undefined;
|
|
78
|
+
readonly enableVirtualViewContainerStateExperimental?: (() => boolean) | undefined;
|
|
79
|
+
readonly fixDifferentiatorParentTagForUnflattenCase?: (() => boolean) | undefined;
|
|
80
|
+
readonly fixMappingOfEventPrioritiesBetweenFabricAndReact?: (() => boolean) | undefined;
|
|
81
|
+
readonly fixYogaFlexBasisFitContentInMainAxis?: (() => boolean) | undefined;
|
|
82
|
+
readonly fuseboxAssertSingleHostState?: (() => boolean) | undefined;
|
|
83
|
+
readonly fuseboxEnabledRelease?: (() => boolean) | undefined;
|
|
84
|
+
readonly fuseboxFrameRecordingEnabled?: (() => boolean) | undefined;
|
|
85
|
+
readonly fuseboxScreenshotCaptureEnabled?: (() => boolean) | undefined;
|
|
86
|
+
readonly fuseboxWebSocketEventsEnabled?: (() => boolean) | undefined;
|
|
87
|
+
readonly optimizedAnimatedPropUpdates?: (() => boolean) | undefined;
|
|
88
|
+
readonly overrideBySynchronousMountPropsAtMountingAndroid?: (() => boolean) | undefined;
|
|
89
|
+
readonly perfIssuesEnabled?: (() => boolean) | undefined;
|
|
90
|
+
readonly perfMonitorV2Enabled?: (() => boolean) | undefined;
|
|
91
|
+
readonly preparedTextCacheSize?: (() => number) | undefined;
|
|
92
|
+
readonly preventShadowTreeCommitExhaustion?: (() => boolean) | undefined;
|
|
93
|
+
readonly redBoxV2Android?: (() => boolean) | undefined;
|
|
94
|
+
readonly redBoxV2IOS?: (() => boolean) | undefined;
|
|
95
|
+
readonly shouldPressibilityUseW3CPointerEventsForHover?: (() => boolean) | undefined;
|
|
96
|
+
readonly shouldTriggerResponderTransferOnScrollAndroid?: (() => boolean) | undefined;
|
|
97
|
+
readonly skipActivityIdentityAssertionOnHostPause?: (() => boolean) | undefined;
|
|
98
|
+
readonly syncAndroidClipBoundsWithOverflow?: (() => boolean) | undefined;
|
|
99
|
+
readonly traceTurboModulePromiseRejectionsOnAndroid?: (() => boolean) | undefined;
|
|
100
|
+
readonly updateRuntimeShadowNodeReferencesOnCommit?: (() => boolean) | undefined;
|
|
101
|
+
readonly updateRuntimeShadowNodeReferencesOnCommitThread?: (() => boolean) | undefined;
|
|
102
|
+
readonly useAlwaysAvailableJSErrorHandling?: (() => boolean) | undefined;
|
|
103
|
+
readonly useFabricInterop?: (() => boolean) | undefined;
|
|
104
|
+
readonly useNativeViewConfigsInBridgelessMode?: (() => boolean) | undefined;
|
|
105
|
+
readonly useNestedScrollViewAndroid?: (() => boolean) | undefined;
|
|
106
|
+
readonly useSharedAnimatedBackend?: (() => boolean) | undefined;
|
|
107
|
+
readonly useTraitHiddenOnAndroid?: (() => boolean) | undefined;
|
|
108
|
+
readonly useTurboModuleInterop?: (() => boolean) | undefined;
|
|
109
|
+
readonly viewCullingOutsetRatio?: (() => number) | undefined;
|
|
110
|
+
readonly viewTransitionEnabled?: (() => boolean) | undefined;
|
|
111
|
+
readonly viewTransitionUseHardwareBitmapAndroid?: (() => boolean) | undefined;
|
|
112
|
+
readonly virtualViewPrerenderRatio?: (() => number) | undefined;
|
|
113
|
+
}
|
|
114
|
+
declare const NativeReactNativeFeatureFlags: null | undefined | Spec;
|
|
115
|
+
declare const $$NativeReactNativeFeatureFlags: typeof NativeReactNativeFeatureFlags;
|
|
116
|
+
declare type $$NativeReactNativeFeatureFlags = typeof $$NativeReactNativeFeatureFlags;
|
|
117
|
+
export default $$NativeReactNativeFeatureFlags;
|
|
@@ -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<<da47aab453fb7e939bb4d522892273eb>>
|
|
8
8
|
*
|
|
9
9
|
* This file was translated from Flow by scripts/js-api/build-types/index.js.
|
|
10
10
|
* Original file: packages/react-native/src/react-private-interface.js.flow
|
|
@@ -19,6 +19,7 @@ export { default as BatchedBridge } from "../Libraries/BatchedBridge/BatchedBrid
|
|
|
19
19
|
export { default as ExceptionsManager } from "../Libraries/Core/ExceptionsManager";
|
|
20
20
|
export { default as Platform } from "../Libraries/Utilities/Platform";
|
|
21
21
|
export { default as RCTEventEmitter } from "../Libraries/EventEmitter/RCTEventEmitter";
|
|
22
|
+
export * as ReactNativeFeatureFlags from "./private/featureflags/ReactNativeFeatureFlags";
|
|
22
23
|
export * as ReactNativeViewConfigRegistry from "../Libraries/Renderer/shims/ReactNativeViewConfigRegistry";
|
|
23
24
|
export { default as TextInputState } from "../Libraries/Components/TextInput/TextInputState";
|
|
24
25
|
export { default as UIManager } from "../Libraries/ReactNative/UIManager";
|