Skip to content

Commit

Permalink
chore: Update example to 3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rapsssito committed Apr 8, 2020
1 parent 0585a55 commit 04b4be3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/tcpsockets/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down
2 changes: 1 addition & 1 deletion examples/tcpsockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 04b4be3

Please sign in to comment.