diff --git a/Libraries/Components/View/View.js b/Libraries/Components/View/View.js index 337f77d1aae558..9694a2fb39a234 100644 --- a/Libraries/Components/View/View.js +++ b/Libraries/Components/View/View.js @@ -63,10 +63,9 @@ if (__DEV__) { ViewToExport = React.forwardRef((props, ref) => ( {hasTextAncestor => { - // TODO: Change iOS to behave the same as Android. invariant( - !hasTextAncestor || Platform.OS !== 'android', - 'Nesting of within is not supported on Android.', + !hasTextAncestor, + 'Nesting of within is not currently supported.', ); return ; }} diff --git a/RNTester/js/TextInputExample.ios.js b/RNTester/js/TextInputExample.ios.js index fdcddc1f793dda..704278796f0630 100644 --- a/RNTester/js/TextInputExample.ios.js +++ b/RNTester/js/TextInputExample.ios.js @@ -872,14 +872,6 @@ exports.examples = [ style={styles.multiline} dataDetectorTypes="phoneNumber" /> - - - ); }