Skip to content

Commit 335394d

Browse files
committed
Version 3.38.3
1 parent 82f2f65 commit 335394d

File tree

10 files changed

+36
-33
lines changed

10 files changed

+36
-33
lines changed

Example/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ PODS:
107107
- SQLite.swift (0.13.3):
108108
- SQLite.swift/standard (= 0.13.3)
109109
- SQLite.swift/standard (0.13.3)
110-
- WebimClientLibrary (3.38.1):
110+
- WebimClientLibrary (3.38.2):
111111
- SQLite.swift (= 0.13.3)
112112

113113
DEPENDENCIES:
@@ -162,7 +162,7 @@ SPEC CHECKSUMS:
162162
SlackTextViewController: b854e62c1c156336bc4fd409c6ca79b5773e8f9d
163163
SnapKit: e01d52ebb8ddbc333eefe2132acf85c8227d9c25
164164
SQLite.swift: 903bfa3bc9ab06345fdfbb578e34f47cfcf417da
165-
WebimClientLibrary: 4b1b63b3fab7764db60ba16c9bf6a27a1835d863
165+
WebimClientLibrary: 7377e4110a0bf8648f03e8be08e720e1b5ed29ac
166166

167167
PODFILE CHECKSUM: c14ba4868851234949008bf9f33036e070106185
168168

Example/WebimClientLibrary.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,7 +2482,7 @@
24822482
INFOPLIST_FILE = WebimClientLibrary/Info.plist;
24832483
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
24842484
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
2485-
MARKETING_VERSION = 3.38.2;
2485+
MARKETING_VERSION = 3.38.3;
24862486
MODULE_NAME = ExampleApp;
24872487
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" -Xfrontend -warn-long-expression-type-checking=400 -Xfrontend -warn-long-function-bodies=400 -Onone";
24882488
PRODUCT_BUNDLE_IDENTIFIER = "ru.webim.Webim-Client";
@@ -2510,7 +2510,7 @@
25102510
INFOPLIST_FILE = WebimClientLibrary/Info.plist;
25112511
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
25122512
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
2513-
MARKETING_VERSION = 3.38.2;
2513+
MARKETING_VERSION = 3.38.3;
25142514
MODULE_NAME = ExampleApp;
25152515
PRODUCT_BUNDLE_IDENTIFIER = "ru.webim.Webim-Client";
25162516
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -2582,7 +2582,7 @@
25822582
GENERATE_INFOPLIST_FILE = YES;
25832583
INFOPLIST_FILE = WebimClientShare/Info.plist;
25842584
INFOPLIST_KEY_CFBundleDisplayName = WebimClientShare;
2585-
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 Webim. All rights reserved.";
2585+
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Webim. All rights reserved.";
25862586
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
25872587
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
25882588
MARKETING_VERSION = 1.0;
@@ -2617,7 +2617,7 @@
26172617
GENERATE_INFOPLIST_FILE = YES;
26182618
INFOPLIST_FILE = WebimClientShare/Info.plist;
26192619
INFOPLIST_KEY_CFBundleDisplayName = WebimClientShare;
2620-
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 Webim. All rights reserved.";
2620+
INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Webim. All rights reserved.";
26212621
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
26222622
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
26232623
MARKETING_VERSION = 1.0;

Example/WebimClientLibrary/Storyboards/en.lproj/LaunchScreen.storyboard

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="a7f-iQ-r7e">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="a7f-iQ-r7e">
33
<device id="retina6_1" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
77
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
88
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
99
</dependencies>
@@ -16,7 +16,7 @@
1616
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
1717
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1818
<subviews>
19-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="© 2022 Webim.ru Inc. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Tfn-UN-bW6">
19+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="© 2023 Webim.ru Inc. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Tfn-UN-bW6">
2020
<rect key="frame" x="49.5" y="833" width="315" height="21"/>
2121
<constraints>
2222
<constraint firstAttribute="width" secondItem="Tfn-UN-bW6" secondAttribute="height" multiplier="314:21" id="MhD-VI-fev"/>
@@ -26,14 +26,14 @@
2626
<color key="highlightedColor" systemColor="darkTextColor"/>
2727
</label>
2828
<progressView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="750" progressImage="Gradient" translatesAutoresizingMaskIntoConstraints="NO" id="TWH-ZF-d1j">
29-
<rect key="frame" x="103.5" y="513.5" width="207" height="2"/>
29+
<rect key="frame" x="103.5" y="515.5" width="207" height="2"/>
3030
<constraints>
3131
<constraint firstAttribute="height" constant="2" id="0P8-mw-Br8"/>
3232
</constraints>
3333
<color key="trackTintColor" red="0.12283656749999999" green="0.134549588" blue="0.24707061050000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
3434
</progressView>
3535
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LogoWebimNavigationBar_dark" translatesAutoresizingMaskIntoConstraints="NO" id="PI1-fP-17G">
36-
<rect key="frame" x="103.5" y="402.5" width="207" height="101"/>
36+
<rect key="frame" x="103.5" y="404.5" width="207" height="101"/>
3737
<constraints>
3838
<constraint firstAttribute="width" secondItem="PI1-fP-17G" secondAttribute="height" multiplier="309:151" id="O3l-bm-GDR"/>
3939
</constraints>

Example/WebimClientLibrary/Storyboards/en.lproj/LaunchScreenController.storyboard

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
33
<device id="retina6_1" orientation="portrait" appearance="light"/>
44
<dependencies>
55
<deployment identifier="iOS"/>
6-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
77
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
88
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
99
</dependencies>
@@ -16,7 +16,7 @@
1616
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
1717
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1818
<subviews>
19-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="© 2022 Webim.ru Inc. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="JCT-JR-N8E">
19+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="© 2023 Webim.ru Inc. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="JCT-JR-N8E">
2020
<rect key="frame" x="49.5" y="833" width="315" height="21"/>
2121
<constraints>
2222
<constraint firstAttribute="width" secondItem="JCT-JR-N8E" secondAttribute="height" multiplier="314:21" id="O5Z-Yu-Lb0"/>
@@ -26,14 +26,14 @@
2626
<color key="highlightedColor" systemColor="darkTextColor"/>
2727
</label>
2828
<progressView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="750" progressImage="Gradient" translatesAutoresizingMaskIntoConstraints="NO" id="cZr-LY-Wwz">
29-
<rect key="frame" x="103.5" y="513.5" width="207" height="2"/>
29+
<rect key="frame" x="103.5" y="515.5" width="207" height="2"/>
3030
<constraints>
3131
<constraint firstAttribute="height" constant="2" id="mUd-X9-07H"/>
3232
</constraints>
3333
<color key="trackTintColor" red="0.12283656746149063" green="0.1345495879650116" blue="0.24707061052322388" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
3434
</progressView>
3535
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LogoWebimNavigationBar_dark" translatesAutoresizingMaskIntoConstraints="NO" id="ZU5-u5-7TG">
36-
<rect key="frame" x="103.5" y="402.5" width="207" height="101"/>
36+
<rect key="frame" x="103.5" y="404.5" width="207" height="101"/>
3737
<constraints>
3838
<constraint firstAttribute="width" secondItem="ZU5-u5-7TG" secondAttribute="height" multiplier="309:151" id="nIs-VA-0H7"/>
3939
</constraints>

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017-2022 Webim
1+
Copyright (c) 2017-2023 Webim
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ This library provides [_Webim SDK_ for _iOS_](https://webim.ru/integration/mobil
1010

1111
Add following line for your target in your **Podfile**:
1212
```
13-
pod 'WebimClientLibrary', :git => 'https://github.com/webim/webim-client-sdk-ios.git', :tag => '3.38.2'
13+
pod 'WebimClientLibrary', :git => 'https://github.com/webim/webim-client-sdk-ios.git', :tag => '3.38.3'
1414
```
1515
`use_frameworks!` must be specified.
1616

1717
### Carthage
1818

1919
Add following line to your **Cartfile**:
2020
```
21-
github "webim/webim-client-sdk-ios" ~> 3.38.2
21+
github "webim/webim-client-sdk-ios" ~> 3.38.3
2222
```
2323

2424
### Swift Package Manager

WebimClientLibrary.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'WebimClientLibrary'
4-
s.version = '3.38.2'
4+
s.version = '3.38.3'
55

66
s.author = { 'Webim.ru Ltd.' => 'n.lazarev-zubov@webim.ru' }
77
s.homepage = 'https://webim.ru/integration/mobile-sdk/ios-sdk-howto/'

WebimClientLibrary/Backend/AbstractRequestLoop.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class AbstractRequestLoop {
102102

103103
func perform(request: URLRequest) throws -> Data {
104104
var requestWithUserAgent = request
105-
requestWithUserAgent.setValue("iOS: Webim-Client 3.38.2; (\(UIDevice.current.model); \(UIDevice.current.systemVersion)); Bundle ID and version: \(Bundle.main.bundleIdentifier ?? "none") \(Bundle.main.infoDictionary?["CFBundleVersion"] ?? "none")", forHTTPHeaderField: "User-Agent")
105+
requestWithUserAgent.setValue("iOS: Webim-Client 3.38.3; (\(UIDevice.current.model); \(UIDevice.current.systemVersion)); Bundle ID and version: \(Bundle.main.bundleIdentifier ?? "none") \(Bundle.main.infoDictionary?["CFBundleVersion"] ?? "none")", forHTTPHeaderField: "User-Agent")
106106

107107
var errorCounter = 0
108108
var lastHTTPCode = -1

WebimClientLibrary/Backend/DeltaRequestLoop.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ class DeltaRequestLoop: AbstractRequestLoop {
190190
func requestInitialization() {
191191
let url = URL(string: getDeltaServerURLString() + "?" + getInitializationParameterString())
192192
var request = URLRequest(url: url!)
193-
request.setValue("3.38.2", forHTTPHeaderField: Parameter.webimSDKVersion.rawValue)
193+
request.setValue("3.38.3", forHTTPHeaderField: Parameter.webimSDKVersion.rawValue)
194194
request.httpMethod = AbstractRequestLoop.HTTPMethods.get.rawValue
195195

196196
do {

WebimClientLibrary/Implementation/MessageImpl.swift

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -434,17 +434,20 @@ extension MessageImpl: Equatable {
434434

435435
static func == (lhs: MessageImpl,
436436
rhs: MessageImpl) -> Bool {
437-
return ((((((((lhs.id == rhs.id)
438-
&& (lhs.operatorID == rhs.operatorID))
439-
&& (lhs.rawText == rhs.rawText))
440-
&& (lhs.senderAvatarURLString == rhs.senderAvatarURLString))
441-
&& (lhs.senderName == rhs.senderName))
442-
&& (lhs.text == rhs.text))
443-
&& (lhs.timeInMicrosecond == rhs.timeInMicrosecond))
444-
&& (lhs.type == rhs.type))
445-
&& (lhs.isReadByOperator() == rhs.isReadByOperator()
446-
&& (lhs.canBeEdited() == rhs.canBeEdited()
447-
&& (lhs.isEdited() == rhs.isEdited())))
437+
return lhs.id == rhs.id
438+
&& lhs.operatorID == rhs.operatorID
439+
&& lhs.rawText == rhs.rawText
440+
&& lhs.senderAvatarURLString == rhs.senderAvatarURLString
441+
&& lhs.senderName == rhs.senderName
442+
&& lhs.text == rhs.text
443+
&& lhs.timeInMicrosecond == rhs.timeInMicrosecond
444+
&& lhs.type == rhs.type
445+
&& lhs.isReadByOperator() == rhs.isReadByOperator()
446+
&& lhs.canBeEdited() == rhs.canBeEdited()
447+
&& lhs.isEdited() == rhs.isEdited()
448+
&& lhs.visitorCanReact == rhs.visitorCanReact
449+
&& lhs.canVisitorReact() == lhs.canVisitorReact()
450+
&& lhs.canVisitorChangeReaction() == lhs.canVisitorChangeReaction()
448451
}
449452

450453
}

0 commit comments

Comments
 (0)