Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Commit dc3dae7

Browse files
committed
fix ios dependency version
1 parent 40851e8 commit dc3dae7

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,5 +597,4 @@ DEBUG app/main-page.js on hi +1
597597
DEBUG app/main-page.js emit hi +1997
598598
DEBUG socket.io emit hi [] +0
599599
DEBUG app/main-page.js disconnect +1976
600-
601600
```

demo/app/connection.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
import * as SocketIO from 'nativescript-socket.io';
44
// import * as SocketIO from './dev';
55

6-
export var socketio = SocketIO.connect('http://192.168.1.111:3210/demo', <SocketIO.SocketOptions>{
6+
const ENDPOINT = 'http://192.168.1.111:3210/demo';
7+
8+
const OPTIONS = <SocketIO.SocketOptions>{
79
// log: true,
810
// secure: false,
911
// forceWebsockets: true,
@@ -12,4 +14,6 @@ export var socketio = SocketIO.connect('http://192.168.1.111:3210/demo', <Socket
1214
scope: 'client',
1315
token: '123',
1416
},
15-
});
17+
};
18+
19+
export var socketio = SocketIO.connect(ENDPOINT, OPTIONS);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-socket.io",
3-
"version": "0.8.2",
3+
"version": "0.9.0",
44
"description": "Full-featured Socket.IO client implementation for NativeScript",
55
"main": "socketio",
66
"typings": "index.d.ts",

platforms/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pod 'Socket.IO-Client-Swift', '~> 12.0'
1+
pod 'Socket.IO-Client-Swift', '~> 11.0'

0 commit comments

Comments
 (0)