File tree Expand file tree Collapse file tree 4 files changed +11811
-11776
lines changed
Classes/Persistence/PersistenceAdapter Expand file tree Collapse file tree 4 files changed +11811
-11776
lines changed Original file line number Diff line number Diff line change 11# RELEASE HISTORY
22
3+ ## 5.1.8 October 23, 2018
4+ * DeviceRegistrationAdapter fixed to handle os and osVersion correctly
5+
36## 5.1.7 October 10, 2018
47* Socket.IO updated to v 13.3.1
58* isValidUserToken method fixed to hanle fault correctly when there is no internet connection
Original file line number Diff line number Diff line change 1+ PODS:
2+ - Socket.IO-Client-Swift (13.3.1):
3+ - Starscream (~> 3.0.2)
4+ - Starscream (3.0.6)
5+
6+ DEPENDENCIES:
7+ - Socket.IO-Client-Swift
8+
9+ SPEC REPOS:
10+ https://github.com/cocoapods/specs.git:
11+ - Socket.IO-Client-Swift
12+ - Starscream
13+
14+ SPEC CHECKSUMS:
15+ Socket.IO-Client-Swift: 79f8f85fa44881838175a20f9bd2c32bef2c9d37
16+ Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5
17+
18+ PODFILE CHECKSUM: 675cc991d5f2f8cb6bcd0ce2d67444ed1b8f2a74
19+
20+ COCOAPODS: 1.6.0.beta.1
Original file line number Diff line number Diff line change @@ -70,7 +70,15 @@ -(DeviceRegistration *)adaptToDeviceRegistration:(NamedObject *)body {
7070
7171 for (NSString *property in [bodyProperties allKeys ]) {
7272 if (![property isEqualToString: @" channelName" ]) {
73- [deviceRegistration setValue: [[bodyProperties valueForKey: property] defaultAdapt ] forKey: property];
73+ if ([property isEqualToString: @" operatingSystemName" ]) {
74+ [deviceRegistration setValue: [[bodyProperties valueForKey: property] defaultAdapt ] forKey: @" os" ];
75+ }
76+ else if ([property isEqualToString: @" operatingSystemVersion" ]) {
77+ [deviceRegistration setValue: [[bodyProperties valueForKey: property] defaultAdapt ] forKey: @" osVersion" ];
78+ }
79+ else {
80+ [deviceRegistration setValue: [[bodyProperties valueForKey: property] defaultAdapt ] forKey: property];
81+ }
7482 }
7583 }
7684 NSString *channelName = [[bodyProperties valueForKey: @" channelName" ] defaultAdapt ];
You can’t perform that action at this time.
0 commit comments