From 04b4be3e0e5430d2e5b54069bb554542bcbb2953 Mon Sep 17 00:00:00 2001 From: Rapsssito Date: Wed, 8 Apr 2020 18:17:32 +0200 Subject: [PATCH] chore: Update example to 3.5.0 --- examples/tcpsockets/App.js | 3 ++- examples/tcpsockets/package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/tcpsockets/App.js b/examples/tcpsockets/App.js index b269c1c..3f04601 100644 --- a/examples/tcpsockets/App.js +++ b/examples/tcpsockets/App.js @@ -66,7 +66,8 @@ class App extends React.Component { localAddress: "127.0.0.1", reuseAddress: true, // localPort: 20000, - // interface: "wifi" + // interface: "wifi", + // tls: true }, (address) => { this.updateChatter('opened client on ' + JSON.stringify(address)); client.write('Hello, server! Love, Client.'); diff --git a/examples/tcpsockets/package.json b/examples/tcpsockets/package.json index a4d7b29..69683bc 100644 --- a/examples/tcpsockets/package.json +++ b/examples/tcpsockets/package.json @@ -14,7 +14,7 @@ "dependencies": { "react": "16.11.0", "react-native": "0.62.1", - "react-native-tcp-socket": "https://github.com/Rapsssito/react-native-tcp-socket#tls" + "react-native-tcp-socket": "^3.5.0" }, "devDependencies": { "@babel/core": "^7.7.2",