From e9b08308a92a2e13b8552b9eea2d9053bafaf328 Mon Sep 17 00:00:00 2001 From: Esteban Mino Date: Thu, 6 Feb 2020 14:03:28 -0300 Subject: [PATCH] fix version --- ....3.2.patch => react-native-tcp+3.3.0.patch} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename patches/{react-native-tcp+3.3.2.patch => react-native-tcp+3.3.0.patch} (91%) diff --git a/patches/react-native-tcp+3.3.2.patch b/patches/react-native-tcp+3.3.0.patch similarity index 91% rename from patches/react-native-tcp+3.3.2.patch rename to patches/react-native-tcp+3.3.0.patch index a3252d5a64d..dbe24d3326a 100644 --- a/patches/react-native-tcp+3.3.2.patch +++ b/patches/react-native-tcp+3.3.0.patch @@ -1,8 +1,8 @@ diff --git a/node_modules/react-native-tcp/TcpSocket.js b/node_modules/react-native-tcp/TcpSocket.js -index 59da564..e94f07c 100644 +index bfc09b6..aa0107d 100644 --- a/node_modules/react-native-tcp/TcpSocket.js +++ b/node_modules/react-native-tcp/TcpSocket.js -@@ -72,7 +72,7 @@ TcpSocket.prototype._debug = function() { +@@ -69,7 +69,7 @@ TcpSocket.prototype._debug = function() { if (__DEV__) { var args = [].slice.call(arguments); args.unshift('socket-' + this._id); @@ -10,29 +10,29 @@ index 59da564..e94f07c 100644 + } }; - + diff --git a/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSocketManager.java b/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSocketManager.java index df2007f..8353cd1 100644 --- a/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSocketManager.java +++ b/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSocketManager.java @@ -1,6 +1,6 @@ package com.peel.react; - + -import android.support.annotation.Nullable; +import androidx.annotation.Nullable; import android.util.SparseArray; - + import com.koushikdutta.async.AsyncNetworkSocket; diff --git a/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSockets.java b/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSockets.java index 1bc07d2..8e6d5d5 100644 --- a/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSockets.java +++ b/node_modules/react-native-tcp/android/src/main/java/com/peel/react/TcpSockets.java @@ -5,7 +5,7 @@ - + package com.peel.react; - + -import android.support.annotation.Nullable; +import androidx.annotation.Nullable; import android.util.Base64; - - import com.facebook.common.logging.FLog; \ No newline at end of file + + import com.facebook.common.logging.FLog;