From da7e4f413479ed77871552d71779d909d09cca4b Mon Sep 17 00:00:00 2001 From: Arief Nur Putranto Date: Tue, 29 Aug 2023 14:57:00 +0700 Subject: [PATCH 1/2] fix crash in file chatPreviewDocVC --- .../ViewControllers/webview/ChatPreviewDocVC.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/QiscusMultichannelWidget/ViewControllers/webview/ChatPreviewDocVC.swift b/Source/QiscusMultichannelWidget/ViewControllers/webview/ChatPreviewDocVC.swift index b88ca91..2b9eb18 100644 --- a/Source/QiscusMultichannelWidget/ViewControllers/webview/ChatPreviewDocVC.swift +++ b/Source/QiscusMultichannelWidget/ViewControllers/webview/ChatPreviewDocVC.swift @@ -37,13 +37,13 @@ class ChatPreviewDocVC: UIViewController, UIWebViewDelegate, WKNavigationDelegat } deinit{ - self.webView.removeObserver(self, forKeyPath: "estimatedProgress") + //self.webView.removeObserver(self, forKeyPath: "estimatedProgress") } // MARK: - UI Lifecycle override func viewDidLoad() { super.viewDidLoad() self.webView.navigationDelegate = self - self.webView.addObserver(self, forKeyPath: "estimatedProgress", options: NSKeyValueObservingOptions.new, context: nil) + // self.webView.addObserver(self, forKeyPath: "estimatedProgress", options: NSKeyValueObservingOptions.new, context: nil) if !self.accountLinking { let shareButton = UIBarButtonItem(title: "Share", style: .plain, target: self, action: #selector(ChatPreviewDocVC.share)) shareButton.tintColor = UIColor.white From 75ab1f639ff88fd30933df09eab0bbcb7f1065d0 Mon Sep 17 00:00:00 2001 From: Arief Nur Putranto Date: Tue, 29 Aug 2023 15:00:10 +0700 Subject: [PATCH 2/2] bump up version 2.2.1 --- QiscusMultichannelWidget.podspec | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QiscusMultichannelWidget.podspec b/QiscusMultichannelWidget.podspec index f20b77e..5b7e259 100644 --- a/QiscusMultichannelWidget.podspec +++ b/QiscusMultichannelWidget.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "QiscusMultichannelWidget" -s.version = "2.2.0" +s.version = "2.2.1" s.summary = "Customer Chat integration." s.homepage = "http://qiscus.com" diff --git a/README.md b/README.md index ba5a0c9..3738a88 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ [CocoaPods](https://cocoapods.org/) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate QiscusMultichannelWidget into your Xcode project using CocoaPods, specify it in your `Podfile`: ``` -pod 'QiscusMultichannelWidget', '~> 2.2.0' +pod 'QiscusMultichannelWidget', '~> 2.2.1' ``` ## How To Use