Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
63ddb1d
Pin hermes-engine to 0.8.x for RN 0.65
Huxpro Apr 29, 2021
325aa5f
[AppContainer] Add back legacy rootTag childContex for 0.65
nadiia May 7, 2021
6d31b71
Merge pull request #31492 from nadiia/0.65-stable-roottag-context
elicwhite May 7, 2021
f31c610
Bump Flipper-Folly to 2.5.3 and RCT-Folly to 2021.04.26.00
Apr 29, 2021
c00197e
Bump Hermes npm to 0.8.0
Huxpro Apr 29, 2021
f0e529c
Reflect Hermes release version from HermesBadge
Huxpro Apr 30, 2021
d3a0d1e
Update validateBaseUrl to use latest regex
FBNeal Apr 29, 2021
7a83631
Implement HeapProfiler.getObjectByHeapObjectId
Apr 30, 2021
867d15a
Fix Hermes build on folly 2021.04.26.00
Apr 30, 2021
c317f55
Refactor UIManagerHelper.getUIManager to return null when there's no …
mdvacca May 6, 2021
3aa8399
Fix Hermes + no Flipper build on Xcode 12.5
May 11, 2021
bff0363
Add onPressIn & onPressOut props to Text (#31288)
adrienharnay May 6, 2021
48b2b79
fix(hermes): fixed hermes build on iOS (#31559)
Titozzz May 20, 2021
f15cd42
Upgrade jsc-android to 250230.2.1 (#31304)
Kudo May 24, 2021
408265d
localeIdentifier missing from flow type of I18nManager (#31589)
acoates-ms May 26, 2021
7599593
Gradle 6.9, Android Gradle Plugin 4.2.1 (#31593)
dulmandakh Jun 1, 2021
a48d998
fix: update to @jest/create-cache-key-function@27 (#30637)
SimenB Jun 2, 2021
bb7541e
Use trovej dependency from Maven Central
May 11, 2021
aa25969
Use Maven Central for fbjni artifact
May 17, 2021
9a923be
remove jcenter (#31609)
dulmandakh Jun 2, 2021
30f356c
find-node.sh supports Homebrew on M1 (#31622)
dulmandakh Jun 2, 2021
79ddbfb
fix(cli + tests): Bump metro to 0.66 + fix test manual script (#31597)
Titozzz Jun 2, 2021
c299694
Custom NSURLSession configuration (#27701)
hakonk Jun 3, 2021
0b36e2b
use maven-publish plugin (#31611)
dulmandakh Jun 3, 2021
37e9f1d
bump buildToolsVersion to 30.0.2 (#31627)
dulmandakh Jun 3, 2021
5c8c5b6
Bump flipper deps to 0.91 to support XCode 12.5 out of the box (#31562)
mweststrate Jun 7, 2021
cae0637
[LOCAL] postfix timestamp to bust yarn cache
tido64 Jun 8, 2021
5f30232
[0.65.0-rc.0] Bump version numbers
tido64 Jun 9, 2021
4b62cbd
Revert "[0.65.0-rc.0] Bump version numbers"
tido64 Jun 9, 2021
f6accd2
[LOCAL] Fix Buck failing to fetch robolectric
tido64 Jun 9, 2021
e324498
[0.65.0-rc.0] Bump version numbers
tido64 Jun 9, 2021
4e9ae4c
Revert "[0.65.0-rc.0] Bump version numbers"
tido64 Jun 9, 2021
5aae7fc
[LOCAL] unbreak publish-npm.js
tido64 Jun 9, 2021
5556968
[0.65.0-rc.0] Bump version numbers
tido64 Jun 9, 2021
a10a201
Revert "Gradle 6.9, Android Gradle Plugin 4.2.1 (#31593)"
kelset Jun 16, 2021
0a15927
Revert "bump buildToolsVersion to 30.0.2 (#31627)"
kelset Jun 16, 2021
39e64c0
Fix font weight numeric values (#29117)
fabOnReact Jun 5, 2021
6b5b72c
Find node on m1 via homebrew node managers (#31678)
danilobuerger Jun 8, 2021
6287c44
Accessible colors for DynamicColorIOS (#31651)
birkir Jun 8, 2021
26bec88
Fix cli bundle platform for Mac Catalyst in `react-native-xcode.sh` (…
robertying Jun 11, 2021
5f1d431
bump fresco to 2.5.0 (#31699)
dulmandakh Jun 11, 2021
d8b115a
Bump Android deps to 0.93 (#31675)
mweststrate Jun 11, 2021
a3c53f5
Workaround failing fmt compilation by locking to v6.2.1
Jun 16, 2021
ca5b943
[LOCAL] lock files update for 065 branch
kelset Jun 17, 2021
0e08b25
[0.65.0-rc.1] Bump version numbers
kelset Jun 17, 2021
be9a669
Revert "Revert "Gradle 6.9, Android Gradle Plugin 4.2.1 (#31593)""
kelset Jun 18, 2021
ba4424f
Revert "Revert "bump buildToolsVersion to 30.0.2 (#31627)""
kelset Jun 18, 2021
121a6a4
Fix Android build sequencing
Jun 17, 2021
db7aa7b
[0.65.0-rc.2] Bump version numbers
kelset Jun 18, 2021
626d25c
Android: upgrading to OkHttp from 4.9.0 to 4.9.1 to fix java.lang.Nul…
gedeagas Jul 8, 2021
49253dc
Fix support for blobs larger than 64 KB on Android (#31789)
tomekzaw Jul 14, 2021
4476fbc
Allow PlatformColor to work with RCTView border colors (#29728)
danilobuerger Jun 23, 2021
e53745e
Bump Flipper + Bump hermes (#31872)
Titozzz Jul 20, 2021
e40f582
fix(deps): bump metro to 0.66.2 + dedup (#31886)
Titozzz Jul 20, 2021
e8d725a
[0.65.0-rc.3] Bump version numbers
kelset Jul 23, 2021
1b8dddc
Allow touches on overflowed children when `overflow: 'visible'`
danielgindi Aug 8, 2019
719f271
Moved `overflow` property declarations to interface
danielgindi May 4, 2020
3920241
Fixed overflow consideration from child
danielgindi Jul 14, 2020
c6c3aa2
Borrowed the RNTest PointerEvents example by @hsource
danielgindi Jul 14, 2020
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
1 change: 0 additions & 1 deletion .buckconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
[maven_repositories]
central = https://repo1.maven.org/maven2
google = https://maven.google.com/
jcenter = https://jcenter.bintray.com/

[alias]
rntester = //packages/rn-tester/android/app:app
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ jobs:
- ANDROID_HOME: "C:\\Android\\android-sdk"
- ANDROID_NDK: "C:\\Android\\android-sdk\\ndk\\20.1.5948944"
- ANDROID_BUILD_VERSION: 30
- ANDROID_TOOLS_VERSION: 29.0.3
- ANDROID_TOOLS_VERSION: 30.0.2
- GRADLE_OPTS: -Dorg.gradle.daemon=false
- NDK_VERSION: 20.1.5948944
steps:
Expand Down
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ indent_size = 2
[*.gradle]
indent_size = 4

[*.kts]
indent_size = 4

[BUCK]
indent_size = 4

Expand Down
2 changes: 1 addition & 1 deletion Libraries/Blob/React-RCTBlob.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
end

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
folly_version = '2020.01.13.00'
folly_version = '2021.04.26.00'

Pod::Spec.new do |s|
s.name = "React-RCTBlob"
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Blob/URL.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class URLSearchParams {

function validateBaseUrl(url: string) {
// from this MIT-licensed gist: https://gist.github.com/dperini/729294
return /^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(
return /^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)*(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/.test(
url,
);
}
Expand Down
8 changes: 4 additions & 4 deletions Libraries/Core/ReactNativeVersion.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/**
* @generated by scripts/bump-oss-version.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @generated by scripts/bump-oss-version.js
* @flow strict
*/

exports.version = {
major: 0,
minor: 0,
minor: 65,
patch: 0,
prerelease: null,
prerelease: 'rc.3',
};
2 changes: 1 addition & 1 deletion Libraries/Image/React-RCTImage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
end

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
folly_version = '2020.01.13.00'
folly_version = '2021.04.26.00'

Pod::Spec.new do |s|
s.name = "React-RCTImage"
Expand Down
2 changes: 1 addition & 1 deletion Libraries/LinkingIOS/React-RCTLinking.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
end

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
folly_version = '2020.01.13.00'
folly_version = '2021.04.26.00'

Pod::Spec.new do |s|
s.name = "React-RCTLinking"
Expand Down
2 changes: 1 addition & 1 deletion Libraries/NativeAnimation/React-RCTAnimation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
end

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
folly_version = '2020.01.13.00'
folly_version = '2021.04.26.00'

Pod::Spec.new do |s|
s.name = "React-RCTAnimation"
Expand Down
5 changes: 5 additions & 0 deletions Libraries/Network/RCTHTTPRequestHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
#import <React/RCTInvalidating.h>
#import <React/RCTURLRequestHandler.h>

typedef NSURLSessionConfiguration* (^NSURLSessionConfigurationProvider)(void);
/**
* The block provided via this function will provide the NSURLSessionConfiguration for all HTTP requests made by the app.
*/
RCT_EXTERN void RCTSetCustomNSURLSessionConfigurationProvider(NSURLSessionConfigurationProvider);
/**
* This is the default RCTURLRequestHandler implementation for HTTP requests.
*/
Expand Down
26 changes: 19 additions & 7 deletions Libraries/Network/RCTHTTPRequestHandler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ @interface RCTHTTPRequestHandler () <NSURLSessionDataDelegate, RCTTurboModule>

@end

static NSURLSessionConfigurationProvider urlSessionConfigurationProvider;

void RCTSetCustomNSURLSessionConfigurationProvider(NSURLSessionConfigurationProvider provider) {
urlSessionConfigurationProvider = provider;
}

@implementation RCTHTTPRequestHandler
{
NSMapTable *_delegates;
Expand Down Expand Up @@ -75,14 +81,20 @@ - (NSURLSessionDataTask *)sendRequest:(NSURLRequest *)request
NSOperationQueue *callbackQueue = [NSOperationQueue new];
callbackQueue.maxConcurrentOperationCount = 1;
callbackQueue.underlyingQueue = [[_moduleRegistry moduleForName:"Networking"] methodQueue];
NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
// Set allowsCellularAccess to NO ONLY if key ReactNetworkForceWifiOnly exists AND its value is YES
if (useWifiOnly) {
configuration.allowsCellularAccess = ![useWifiOnly boolValue];
NSURLSessionConfiguration *configuration;
if (urlSessionConfigurationProvider) {
configuration = urlSessionConfigurationProvider();
} else {
configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
// Set allowsCellularAccess to NO ONLY if key ReactNetworkForceWifiOnly exists AND its value is YES
if (useWifiOnly) {
configuration.allowsCellularAccess = ![useWifiOnly boolValue];
}
[configuration setHTTPShouldSetCookies:YES];
[configuration setHTTPCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
[configuration setHTTPCookieStorage:[NSHTTPCookieStorage sharedHTTPCookieStorage]];
}
[configuration setHTTPShouldSetCookies:YES];
[configuration setHTTPCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
[configuration setHTTPCookieStorage:[NSHTTPCookieStorage sharedHTTPCookieStorage]];
assert(configuration != nil);
_session = [NSURLSession sessionWithConfiguration:configuration
delegate:self
delegateQueue:callbackQueue];
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Network/React-RCTNetwork.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
end

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
folly_version = '2020.01.13.00'
folly_version = '2021.04.26.00'

Pod::Spec.new do |s|
s.name = "React-RCTNetwork"
Expand Down
5 changes: 4 additions & 1 deletion Libraries/NewAppScreen/components/HermesBadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import Colors from './Colors';

const HermesBadge = (): Node => {
const isDarkMode = useColorScheme() === 'dark';
const version =
global.HermesInternal?.getRuntimeProperties?.()['OSS Release Version'] ??
'';
return global.HermesInternal ? (
<View style={styles.badge}>
<Text
Expand All @@ -24,7 +27,7 @@ const HermesBadge = (): Node => {
color: isDarkMode ? Colors.light : Colors.dark,
},
]}>
Engine: Hermes
{`Engine: Hermes ${version}`}
</Text>
</View>
) : null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
end

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
folly_version = '2020.01.13.00'
folly_version = '2021.04.26.00'

Pod::Spec.new do |s|
s.name = "React-RCTPushNotification"
Expand Down
15 changes: 15 additions & 0 deletions Libraries/ReactNative/AppContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ import StyleSheet from '../StyleSheet/StyleSheet';
import {type EventSubscription} from '../vendor/emitter/EventEmitter';
import {RootTagContext, createRootTag} from './RootTag';
import type {RootTag} from './RootTag';
import PropTypes from 'prop-types';
import * as React from 'react';

type Context = {rootTag: number | RootTag, ...};

type Props = $ReadOnly<{|
children?: React.Node,
fabric?: boolean,
Expand Down Expand Up @@ -43,6 +46,18 @@ class AppContainer extends React.Component<Props, State> {

static getDerivedStateFromError: any = undefined;

static childContextTypes:
| any
| {|rootTag: React$PropType$Primitive<number>|} = {
rootTag: PropTypes.number,
};

getChildContext(): Context {
return {
rootTag: this.props.rootTag,
};
}

componentDidMount(): void {
if (__DEV__) {
if (!global.__RCTProfileIsProfiling) {
Expand Down
15 changes: 12 additions & 3 deletions Libraries/ReactNative/I18nManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ import NativeI18nManager from './NativeI18nManager';
const i18nConstants: {|
doLeftAndRightSwapInRTL: boolean,
isRTL: boolean,
localeIdentifier?: ?string,
|} = getI18nManagerConstants();

function getI18nManagerConstants() {
if (NativeI18nManager) {
const {isRTL, doLeftAndRightSwapInRTL} = NativeI18nManager.getConstants();
return {isRTL, doLeftAndRightSwapInRTL};
const {
isRTL,
doLeftAndRightSwapInRTL,
localeIdentifier,
} = NativeI18nManager.getConstants();
return {isRTL, doLeftAndRightSwapInRTL, localeIdentifier};
}

return {
Expand All @@ -28,7 +33,11 @@ function getI18nManagerConstants() {
}

module.exports = {
getConstants: (): {|doLeftAndRightSwapInRTL: boolean, isRTL: boolean|} => {
getConstants: (): {|
doLeftAndRightSwapInRTL: boolean,
isRTL: boolean,
localeIdentifier: ?string,
|} => {
return i18nConstants;
},

Expand Down
2 changes: 1 addition & 1 deletion Libraries/Settings/React-RCTSettings.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
end

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
folly_version = '2020.01.13.00'
folly_version = '2021.04.26.00'

Pod::Spec.new do |s|
s.name = "React-RCTSettings"
Expand Down
17 changes: 16 additions & 1 deletion Libraries/StyleSheet/PlatformColorValueTypes.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export opaque type NativeColorValue = {
dynamic?: {
light: ?(ColorValue | ProcessedColorValue),
dark: ?(ColorValue | ProcessedColorValue),
highContrastLight?: ?(ColorValue | ProcessedColorValue),
highContrastDark?: ?(ColorValue | ProcessedColorValue),
},
};

Expand All @@ -26,12 +28,21 @@ export const PlatformColor = (...names: Array<string>): ColorValue => {
export type DynamicColorIOSTuplePrivate = {
light: ColorValue,
dark: ColorValue,
highContrastLight?: ColorValue,
highContrastDark?: ColorValue,
};

export const DynamicColorIOSPrivate = (
tuple: DynamicColorIOSTuplePrivate,
): ColorValue => {
return {dynamic: {light: tuple.light, dark: tuple.dark}};
return {
dynamic: {
light: tuple.light,
dark: tuple.dark,
highContrastLight: tuple.highContrastLight,
highContrastDark: tuple.highContrastDark,
},
};
};

export const normalizeColorObject = (
Expand All @@ -49,6 +60,8 @@ export const normalizeColorObject = (
dynamic: {
light: normalizeColor(dynamic.light),
dark: normalizeColor(dynamic.dark),
highContrastLight: normalizeColor(dynamic.highContrastLight),
highContrastDark: normalizeColor(dynamic.highContrastDark),
},
};
return dynamicColor;
Expand All @@ -67,6 +80,8 @@ export const processColorObject = (
dynamic: {
light: processColor(dynamic.light),
dark: processColor(dynamic.dark),
highContrastLight: processColor(dynamic.highContrastLight),
highContrastDark: processColor(dynamic.highContrastDark),
},
};
return dynamicColor;
Expand Down
9 changes: 8 additions & 1 deletion Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ import {DynamicColorIOSPrivate} from './PlatformColorValueTypes';
export type DynamicColorIOSTuple = {
light: ColorValue,
dark: ColorValue,
highContrastLight?: ColorValue,
highContrastDark?: ColorValue,
};

export const DynamicColorIOS = (tuple: DynamicColorIOSTuple): ColorValue => {
return DynamicColorIOSPrivate({light: tuple.light, dark: tuple.dark});
return DynamicColorIOSPrivate({
light: tuple.light,
dark: tuple.dark,
highContrastLight: tuple.highContrastLight,
highContrastDark: tuple.highContrastDark,
});
};
2 changes: 2 additions & 0 deletions Libraries/StyleSheet/PlatformColorValueTypesIOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import type {ColorValue} from './StyleSheet';
export type DynamicColorIOSTuple = {
light: ColorValue,
dark: ColorValue,
highContrastLight?: ColorValue,
highContrastDark?: ColorValue,
};

export const DynamicColorIOS = (tuple: DynamicColorIOSTuple): ColorValue => {
Expand Down
19 changes: 19 additions & 0 deletions Libraries/StyleSheet/__tests__/normalizeColor-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,25 @@ describe('iOS', () => {
expect(normalizedColor).toEqual(expectedColor);
});

it('should normalize iOS Dynamic colors with accessible colors', () => {
const color = DynamicColorIOS({
light: 'black',
dark: 'white',
highContrastLight: 'red',
highContrastDark: 'blue',
});
const normalizedColor = normalizeColor(color);
const expectedColor = {
dynamic: {
light: 'black',
dark: 'white',
highContrastLight: 'red',
highContrastDark: 'blue',
},
};
expect(normalizedColor).toEqual(expectedColor);
});

it('should normalize iOS Dynamic colors with PlatformColor colors', () => {
const color = DynamicColorIOS({
light: PlatformColor('systemBlackColor'),
Expand Down
6 changes: 6 additions & 0 deletions Libraries/Text/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const Text: React.AbstractComponent<
ellipsizeMode,
onLongPress,
onPress,
onPressIn,
onPressOut,
onResponderGrant,
onResponderMove,
onResponderRelease,
Expand Down Expand Up @@ -64,9 +66,11 @@ const Text: React.AbstractComponent<
onPress,
onPressIn(event) {
setHighlighted(!suppressHighlighting);
onPressIn?.(event);
},
onPressOut(event) {
setHighlighted(false);
onPressOut?.(event);
},
onResponderTerminationRequest_DEPRECATED: onResponderTerminationRequest,
onStartShouldSetResponder_DEPRECATED: onStartShouldSetResponder,
Expand All @@ -78,6 +82,8 @@ const Text: React.AbstractComponent<
pressRetentionOffset,
onLongPress,
onPress,
onPressIn,
onPressOut,
onResponderTerminationRequest,
onStartShouldSetResponder,
suppressHighlighting,
Expand Down
2 changes: 2 additions & 0 deletions Libraries/Text/TextProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export type TextProps = $ReadOnly<{|
* See https://reactnative.dev/docs/text.html#onpress
*/
onPress?: ?(event: PressEvent) => mixed,
onPressIn?: ?(event: PressEvent) => mixed,
onPressOut?: ?(event: PressEvent) => mixed,
onResponderGrant?: ?(event: PressEvent) => void,
onResponderMove?: ?(event: PressEvent) => void,
onResponderRelease?: ?(event: PressEvent) => void,
Expand Down
Loading