Skip to content

Commit 04b4be3

Browse files
committed
chore: Update example to 3.5.0
1 parent 0585a55 commit 04b4be3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/tcpsockets/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ class App extends React.Component {
6666
localAddress: "127.0.0.1",
6767
reuseAddress: true,
6868
// localPort: 20000,
69-
// interface: "wifi"
69+
// interface: "wifi",
70+
// tls: true
7071
}, (address) => {
7172
this.updateChatter('opened client on ' + JSON.stringify(address));
7273
client.write('Hello, server! Love, Client.');

examples/tcpsockets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"react": "16.11.0",
1616
"react-native": "0.62.1",
17-
"react-native-tcp-socket": "https://github.com/Rapsssito/react-native-tcp-socket#tls"
17+
"react-native-tcp-socket": "^3.5.0"
1818
},
1919
"devDependencies": {
2020
"@babel/core": "^7.7.2",

0 commit comments

Comments
 (0)