From a5ae7f57f179df2f9223cca6cd3706b110d6e5be Mon Sep 17 00:00:00 2001 From: Christoph Nakazawa Date: Thu, 14 Feb 2019 05:33:50 -0800 Subject: [PATCH] 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 --- .../react-native-implementation.js | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index ebc3046a227bf5..0d7c955f076491 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -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', - ); - }, };