From 1605276801aa8766df6a30b9088277f162eb7d80 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Sat, 5 Nov 2016 14:10:54 -0700 Subject: [PATCH] Remove open source deprecation warning from MapView Summary: The warning is only relevant to open source RN but shown to employees too. Reviewed By: fkgozali Differential Revision: D4137216 fbshipit-source-id: 21d5c3051c7964231eeb3f555681a83eacb4c972 --- Libraries/Components/MapView/MapView.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Libraries/Components/MapView/MapView.js b/Libraries/Components/MapView/MapView.js index 9b2d3a6ab..3791207e0 100644 --- a/Libraries/Components/MapView/MapView.js +++ b/Libraries/Components/MapView/MapView.js @@ -86,19 +86,6 @@ export type AnnotationDragState = $Enum<{ const MapView = React.createClass({ - componentWillMount: function() { - console.warn( - 'MapView is now deprecated and will be removed from React Native in version 0.42. ' + - 'Please use the react-native-maps module which is more feature complete ' + - 'and works on Android too: https://github.com/airbnb/react-native-maps\n' + - 'It is actively maintained and used extensively.\n\n' + - 'Once MapView is removed from React Native in v0.42, we will release the ' + - 'code as deprecated-react-native-ios-mapview. You will be able to ' + - 'continue using that and migrate to react-native-maps your own pace later.\n\n' + - 'For more info, check out https://github.com/facebook/react-native/pull/10500' - ); - }, - mixins: [NativeMethodsMixin], propTypes: {