From 03d4df5e0d8e2aadead0be97468af8cca4cd6ba8 Mon Sep 17 00:00:00 2001 From: Sean Hayes Date: Wed, 16 Jan 2019 13:37:31 +0100 Subject: [PATCH] Add note about a bug in the Android websocket implementation prior to 0.57.8 that causes many issues. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index bfc9ab9..572cbb9 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,11 @@ It is recommended to always use the latest version of react-native-meteor compat * For RN = 0.45, use `react-native-meteor@1.0.6` * For RN < 0.45, you can use version `react-native-meteor@1.0.3` in case or problems. +### Warning < RN 0.57.8 Android bug + +There was a [bug in the react native websocket android implementation](https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md#android-specific) that meant the close event wasn't being received from the server. Therefore RN versions prior to React-native 0.57.8 will not detect users being logged out from the server side. There could also be other bugs resulting from this. + + ## Example usage ```javascript