Skip to content

Commit

Permalink
Remove deprecation messages.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cpojer authored and facebook-github-bot committed Feb 14, 2019
1 parent a063435 commit a5ae7f5
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions Libraries/react-native/react-native-implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,29 +373,4 @@ module.exports = {
get ViewPropTypes() {
return require('DeprecatedViewPropTypes');
},

// Deprecated
get BackAndroid() {
invariant(
false,
'BackAndroid is deprecated and has been removed from this package. ' +
'Use BackHandler instead',
);
},

get Navigator() {
invariant(
false,
'Navigator is deprecated and has been removed from this package. It can now be installed ' +
'and imported from `react-native-deprecated-custom-components` instead of `react-native`. ' +
'Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html',
);
},
get NavigatorIOS() {
invariant(
false,
'NavigatorIOS is deprecated and has been removed from this package. ' +
'Learn about alternative navigation solutions at http://facebook.github.io/react-native/docs/navigation.html',
);
},
};

0 comments on commit a5ae7f5

Please sign in to comment.