Skip to content

Commit a5ae7f5

Browse files
cpojerfacebook-github-bot
authored andcommitted
Remove deprecation messages.
Summary: These modules have been deprecated for at least one release or more. By landing this diff now, they will be fully removed from 0.60 (to be released in ~April). Reviewed By: rickhanlonii Differential Revision: D14080869 fbshipit-source-id: cf39cc1782eec1dd09750d20b55c76f580320f4d
1 parent a063435 commit a5ae7f5

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

Libraries/react-native/react-native-implementation.js

-25
Original file line numberDiff line numberDiff line change
@@ -373,29 +373,4 @@ module.exports = {
373373
get ViewPropTypes() {
374374
return require('DeprecatedViewPropTypes');
375375
},
376-
377-
// Deprecated
378-
get BackAndroid() {
379-
invariant(
380-
false,
381-
'BackAndroid is deprecated and has been removed from this package. ' +
382-
'Use BackHandler instead',
383-
);
384-
},
385-
386-
get Navigator() {
387-
invariant(
388-
false,
389-
'Navigator is deprecated and has been removed from this package. It can now be installed ' +
390-
'and imported from `react-native-deprecated-custom-components` instead of `react-native`. ' +
391-
'Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html',
392-
);
393-
},
394-
get NavigatorIOS() {
395-
invariant(
396-
false,
397-
'NavigatorIOS is deprecated and has been removed from this package. ' +
398-
'Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html',
399-
);
400-
},
401376
};

0 commit comments

Comments
 (0)