Compare commits

...
Author SHA1 Message Date
James Ide 7fdbc4c640 [0.13.0] Change package.json and React.podspec versions 2015-10-23 11:59:25 -07:00
Yuri ZarubinandJames Ide 3127ce11b9 Check that WS connection is open before closing it on failed. Fixes #3346
Summary: Check that the WS state is set to OPEN before trying to close it when the ```websocketFailed``` event fires. Otherwise the app throws an error at the Android level.

Fixes #3346
Closes https://github.com/facebook/react-native/pull/3347

Reviewed By: @​svcscm

Differential Revision: D2535807

Pulled By: @mkonicek

fb-gh-sync-id: bb70c551ea2e582cfaa80139a265dbbca6d990d2
2015-10-23 11:58:52 -07:00
Martin Konicek 1aa2cc4a82 Depend on 0.13 Android binaries from custom JCenter repo
Only needed until artifacts propagate through Maven Central.
2015-10-13 22:04:09 +01:00
Martin Konicek 553a898b32 [0.13.0-rc] Bump versions 2015-10-13 22:03:32 +01:00
6 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class WebSocket extends WebSocketBase {
this.onerror && this.onerror(event);
this.dispatchEvent(event);
this._unregisterEvents();
this._closeWebSocket(id);
this.readyState === this.OPEN && this._closeWebSocket(id);
})
];
}
+2 -2
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "React"
s.version = "0.8.0"
s.version = "0.13.0"
s.summary = "Build high quality mobile apps using React."
s.description = <<-DESC
React Native apps are built using the React JS
@@ -103,5 +103,5 @@ Pod::Spec.new do |s|
ss.source_files = "Libraries/LinkingIOS/*.{h,m}"
ss.preserve_paths = "Libraries/LinkingIOS/*.js"
end
end
+1 -1
View File
@@ -1,4 +1,4 @@
VERSION_NAME=0.12.0-SNAPSHOT
VERSION_NAME=0.13.0
GROUP=com.facebook.react
POM_NAME=ReactNative
@@ -25,5 +25,5 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.facebook.react:react-native:0.11.+'
compile 'com.facebook.react:react-native:0.13.+'
}
@@ -16,5 +16,8 @@ allprojects {
repositories {
mavenLocal()
jcenter()
jcenter {
url "http://dl.bintray.com/mkonicek/maven"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "react-native",
"version": "0.12.0",
"version": "0.13.0",
"description": "A framework for building native apps using React",
"license": "BSD-3-Clause",
"repository": {