Compare commits

...
Author SHA1 Message Date
Martin Konicek 9de1d4f2dd [0.38.0-rc.1] Bump version numbers 2016-11-21 15:00:55 +00:00
Martin Konicek 8b3fe666aa Add deprecation warning to MapView 2016-11-21 15:00:00 +00:00
Mike Grabowski 3c9d26e618 [0.38.0-rc.0] Bump version numbers 2016-11-08 18:13:52 +01:00
4 changed files with 17 additions and 4 deletions
+13
View File
@@ -86,6 +86,19 @@ 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 widely used.\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: {
+1 -1
View File
@@ -4,7 +4,7 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "React"
s.version = package['version']
s.version = "0.38.0-rc.1"
s.summary = package['description']
s.description = <<-DESC
React Native apps are built using the React JS
+1 -1
View File
@@ -1,4 +1,4 @@
VERSION_NAME=1000.0.0-master
VERSION_NAME=0.38.0-rc.1
GROUP=com.facebook.react
POM_NAME=ReactNative
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "react-native",
"version": "1000.0.0",
"version": "0.38.0-rc.1",
"description": "A framework for building native apps using React",
"license": "BSD-3-Clause",
"repository": {
@@ -228,4 +228,4 @@
"shelljs": "0.6.0",
"sinon": "^2.0.0-pre.2"
}
}
}