diff --git a/Example/Podfile.lock b/Example/Podfile.lock
index 7020b7c0..3a9675a2 100644
--- a/Example/Podfile.lock
+++ b/Example/Podfile.lock
@@ -9,7 +9,7 @@ PODS:
- SQLite.swift (0.11.5):
- SQLite.swift/standard (= 0.11.5)
- SQLite.swift/standard (0.11.5)
- - WebimClientLibrary (3.20.1):
+ - WebimClientLibrary (3.21.0):
- SQLite.swift
DEPENDENCIES:
@@ -44,7 +44,7 @@ SPEC CHECKSUMS:
SlackTextViewController: b854e62c1c156336bc4fd409c6ca79b5773e8f9d
SnapKit: a42d492c16e80209130a3379f73596c3454b7694
SQLite.swift: 6e5356850bb1791459f8c16d6ee9195b28714a2e
- WebimClientLibrary: 73a1699757e56f6514ce8cbc19880f6412662b78
+ WebimClientLibrary: 0d77b0617e63818b96dab9eba9c2f41b59d66e14
PODFILE CHECKSUM: 3ae813f4c3db6d1830eddfcf1600cb0f21e44002
diff --git a/Example/Pods/Local Podspecs/WebimClientLibrary.podspec.json b/Example/Pods/Local Podspecs/WebimClientLibrary.podspec.json
index 4281bc2c..333a7eae 100644
--- a/Example/Pods/Local Podspecs/WebimClientLibrary.podspec.json
+++ b/Example/Pods/Local Podspecs/WebimClientLibrary.podspec.json
@@ -1,6 +1,6 @@
{
"name": "WebimClientLibrary",
- "version": "3.21.0",
+ "version": "3.21.1",
"authors": {
"Webim.ru Ltd.": "n.lazarev-zubov@webim.ru"
},
@@ -16,7 +16,7 @@
"swift_version": "4.0",
"source": {
"git": "https://github.com/webim/webim-client-sdk-ios.git",
- "tag": "3.21.0"
+ "tag": "3.21.1"
},
"dependencies": {
"SQLite.swift": [
diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock
index 0ec2f814..ff371789 100644
--- a/Example/Pods/Manifest.lock
+++ b/Example/Pods/Manifest.lock
@@ -9,7 +9,7 @@ PODS:
- SQLite.swift (0.11.5):
- SQLite.swift/standard (= 0.11.5)
- SQLite.swift/standard (0.11.5)
- - WebimClientLibrary (3.21.0):
+ - WebimClientLibrary (3.21.1):
- SQLite.swift
DEPENDENCIES:
@@ -44,7 +44,7 @@ SPEC CHECKSUMS:
SlackTextViewController: b854e62c1c156336bc4fd409c6ca79b5773e8f9d
SnapKit: a42d492c16e80209130a3379f73596c3454b7694
SQLite.swift: 6e5356850bb1791459f8c16d6ee9195b28714a2e
- WebimClientLibrary: 73a1699757e56f6514ce8cbc19880f6412662b78
+ WebimClientLibrary: 0d77b0617e63818b96dab9eba9c2f41b59d66e14
PODFILE CHECKSUM: 3ae813f4c3db6d1830eddfcf1600cb0f21e44002
diff --git a/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Example/Info.plist b/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Example/Info.plist
index 4a49e013..9708cce4 100644
--- a/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Example/Info.plist
+++ b/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Example/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 3.21.0
+ 3.21.1
CFBundleSignature
????
CFBundleVersion
diff --git a/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Tests/Info.plist b/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Tests/Info.plist
index 4a49e013..9708cce4 100644
--- a/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Tests/Info.plist
+++ b/Example/Pods/Target Support Files/Pods-WebimClientLibrary_Tests/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 3.21.0
+ 3.21.1
CFBundleSignature
????
CFBundleVersion
diff --git a/Example/Pods/Target Support Files/WebimClientLibrary/Info.plist b/Example/Pods/Target Support Files/WebimClientLibrary/Info.plist
index 4a49e013..9708cce4 100644
--- a/Example/Pods/Target Support Files/WebimClientLibrary/Info.plist
+++ b/Example/Pods/Target Support Files/WebimClientLibrary/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 3.21.0
+ 3.21.1
CFBundleSignature
????
CFBundleVersion
diff --git a/Info.plist b/Info.plist
index 7e904a19..82ded4f1 100644
--- a/Info.plist
+++ b/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 3.21.0
+ 3.21.1
CFBundleVersion
$(CURRENT_PROJECT_VERSION)
NSPrincipalClass
diff --git a/README.md b/README.md
index 93feba9c..1f2097fc 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ This library provides [_Webim SDK_ for _iOS_](https://webim.ru/integration/mobil
Add following line for your target in your **Podfile**:
```
-pod 'WebimClientLibrary', :git => 'https://github.com/webim/webim-client-sdk-ios.git', :branch => 'master', :tag => '3.21.0'
+pod 'WebimClientLibrary', :git => 'https://github.com/webim/webim-client-sdk-ios.git', :branch => 'master', :tag => '3.21.1'
```
`use_frameworks!` must be specified.
@@ -24,7 +24,7 @@ pod 'WebimClientLibrary', :git => 'https://github.com/webim/webim-client-sdk-ios
Add following line to your **Cartfile**:
```
-github "webim/webim-client-sdk-ios" ~> 3.21.0
+github "webim/webim-client-sdk-ios" ~> 3.21.1
```
### Additional notes
@@ -38,8 +38,7 @@ Trying to integrate _WebimClientLibrary_ into your _Objective-C_ code? Try out o
Previous _Objective-C_ version (version numbers 2.x.x) can be reached from **version2** branch.
## Release notes
-* New method `isReadByOperator()`.
-* Send file parameters in HTTPBody.
+* FatalErrorHandler reference fixed.
## Example
diff --git a/WebimClientLibrary.podspec b/WebimClientLibrary.podspec
index e8727ea1..c74da232 100644
--- a/WebimClientLibrary.podspec
+++ b/WebimClientLibrary.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'WebimClientLibrary'
- s.version = '3.21.0'
+ s.version = '3.21.1'
s.author = { 'Webim.ru Ltd.' => 'n.lazarev-zubov@webim.ru' }
s.homepage = 'https://webim.ru/integration/mobile-sdk/ios-sdk-howto/'
diff --git a/WebimClientLibrary/Implementation/WebimSessionImpl.swift b/WebimClientLibrary/Implementation/WebimSessionImpl.swift
index 9f0d09f5..50f12204 100644
--- a/WebimClientLibrary/Implementation/WebimSessionImpl.swift
+++ b/WebimClientLibrary/Implementation/WebimSessionImpl.swift
@@ -662,7 +662,7 @@ final private class DestroyOnFatalErrorListener: InternalErrorListener {
final private class ErrorHandlerToInternalAdapter: InternalErrorListener {
// MARK: - Parameters
- private weak var fatalErrorHandler: FatalErrorHandler?
+ private var fatalErrorHandler: FatalErrorHandler?
// MARK: - Initialization
init(fatalErrorHandler: FatalErrorHandler?) {
diff --git a/WebimClientLibrary/Webim.swift b/WebimClientLibrary/Webim.swift
index d2e5eb3b..ca2f796f 100644
--- a/WebimClientLibrary/Webim.swift
+++ b/WebimClientLibrary/Webim.swift
@@ -121,7 +121,7 @@ public final class SessionBuilder {
private var accountName: String?
private var appVersion: String?
private var deviceToken: String?
- private weak var fatalErrorHandler: FatalErrorHandler?
+ private var fatalErrorHandler: FatalErrorHandler?
private var localHistoryStoragingEnabled = true
private var location: String?
private var pageTitle: String?