Remove deprecation messages. · facebook/react-native@a5ae7f5 (original) (raw)

Original file line number Diff line number Diff line change
@@ -373,29 +373,4 @@ module.exports = {
373 373 get ViewPropTypes() {
374 374 return require('DeprecatedViewPropTypes');
375 375 },
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 -},
401 376 };