diff --git a/GME Remit.xcodeproj/project.pbxproj b/GME Remit.xcodeproj/project.pbxproj index 9a200c71..423c46fc 100644 --- a/GME Remit.xcodeproj/project.pbxproj +++ b/GME Remit.xcodeproj/project.pbxproj @@ -476,7 +476,6 @@ 73BA8CD0237E3E5600F3E579 /* AccountCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73BA8CCF237E3E5600F3E579 /* AccountCell.swift */; }; 73BA8CD2237E427D00F3E579 /* TotalAccount.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73BA8CD1237E427D00F3E579 /* TotalAccount.swift */; }; 73BE702C22D33E6800E87DD2 /* GMENumberTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73BE702B22D33E6800E87DD2 /* GMENumberTextField.swift */; }; - 73CD98DC23C5B80A00C1A458 /* CSManagement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73CD98DB23C5B80A00C1A458 /* CSManagement.swift */; }; 73D1683B2398D49900E3E01E /* NewRegisterStep3Service.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73D1682D2398D49900E3E01E /* NewRegisterStep3Service.swift */; }; 73D1683C2398D49900E3E01E /* NewRegisterStep3ServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73D1682E2398D49900E3E01E /* NewRegisterStep3ServiceType.swift */; }; 73D1683D2398D49900E3E01E /* NewRegisterStep3InteractorIO.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73D168302398D49900E3E01E /* NewRegisterStep3InteractorIO.swift */; }; @@ -2969,7 +2968,6 @@ 73BA8CCF237E3E5600F3E579 /* AccountCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountCell.swift; sourceTree = ""; }; 73BA8CD1237E427D00F3E579 /* TotalAccount.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TotalAccount.swift; sourceTree = ""; }; 73BE702B22D33E6800E87DD2 /* GMENumberTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GMENumberTextField.swift; sourceTree = ""; }; - 73CD98DB23C5B80A00C1A458 /* CSManagement.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CSManagement.swift; sourceTree = ""; }; 73D1682D2398D49900E3E01E /* NewRegisterStep3Service.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NewRegisterStep3Service.swift; sourceTree = ""; }; 73D1682E2398D49900E3E01E /* NewRegisterStep3ServiceType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NewRegisterStep3ServiceType.swift; sourceTree = ""; }; 73D168302398D49900E3E01E /* NewRegisterStep3InteractorIO.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NewRegisterStep3InteractorIO.swift; sourceTree = ""; }; @@ -13506,7 +13504,6 @@ 730D7896227A94F2007E517E /* SearchAddress */, 73895FF522C2F208003FEA90 /* TablePresenter */, D95B7044213FB5F00053CC3D /* WebLinks */, - 73CD98DB23C5B80A00C1A458 /* CSManagement.swift */, ); path = Utilities; sourceTree = ""; @@ -16818,7 +16815,6 @@ FF6E7D9821BF951D00A003B9 /* AppUpdateWireframeInput.swift in Sources */, D96A4FDE21460B4A00CFD507 /* SplashScreenViewController.swift in Sources */, D9DC107921639078008F3C51 /* MessageComposeServiceType.swift in Sources */, - 73CD98DC23C5B80A00C1A458 /* CSManagement.swift in Sources */, 73911179237AA3C300697D27 /* InboundPennyTestSubmitService.swift in Sources */, D92B80252140C3CB00A25B26 /* MainModuleInterface.swift in Sources */, D946719521426DFB003924DB /* LoginModuleInterface.swift in Sources */, diff --git a/GME Remit/AppDelegate.swift b/GME Remit/AppDelegate.swift index 0e08ca7c..4126862f 100644 --- a/GME Remit/AppDelegate.swift +++ b/GME Remit/AppDelegate.swift @@ -18,7 +18,6 @@ import Crashlytics import AlamofireNetworkActivityLogger import IQKeyboardManagerSwift import Localize_Swift -import ChannelIO import LGSideMenuController #if DEBUG @@ -94,8 +93,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { destination = extractDestination(userInfo: useInfo) self.window?.rootViewController = LauncherScreenWireframe().getMainView() - ChannelIO.initialize() - GMEDB .shared .app @@ -116,9 +113,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void ) { - ChannelIO.handlePushNotification(userInfo) { - completionHandler(.noData) - } } func application( @@ -135,7 +129,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { Messaging.messaging().apnsToken = deviceToken - ChannelIO.initPushToken(deviceToken: deviceToken) } func applicationDidEnterBackground(_ application: UIApplication) { @@ -206,10 +199,6 @@ extension AppDelegate: UNUserNotificationCenterDelegate { let userInfo = response.notification.request.content.userInfo print("Message ID: \(userInfo["gcm_message_id"] ?? "nil")") - if ChannelIO.isChannelPushNotification(userInfo) { - ChannelIO.handlePushNotification(userInfo) - } - // open push notification's destination guard window?.rootViewController is LGSideMenuController, diff --git a/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift b/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift index e156b22e..ce2dda1b 100644 --- a/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift +++ b/GME Remit/Modules/Home/User Interface/View/HomeViewController.swift @@ -9,7 +9,6 @@ import UIKit import Crashlytics import Localize_Swift -//import ChannelIO import LGSideMenuController #if DEBUG @@ -82,7 +81,6 @@ class HomeViewController: UIViewController { var refreshControl: UIRefreshControl? var presenter: HomeModuleInterface? - private var csManager: CSManagement? var user: User? { didSet { @@ -206,10 +204,6 @@ class HomeViewController: UIViewController { setupDelegates() setupNotifications() addRefreshControlTableView() - -// addRightCSButton(delegate: self) - csManager = CSManagement(self) - csManager?.setNavigationRightBarbutton(type: .original) } private func update() { @@ -722,19 +716,6 @@ extension HomeViewController { } } -// MARK: - ChannelPluginDelegate -//extension HomeViewController: ChannelPluginDelegate { -// func onChangeBadge(count: Int) { -// setMessageCount(with: count) -// } -// -// func onReceivePush(event: PushEvent) { -// //configure your view with push event data -// //and display -// print("event: \(event)") -// } -//} - // MARK: - HomeCollectionDelegate extension HomeViewController: HomeCollectionDelegate { func didSelect( diff --git a/GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift b/GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift index 8bee2d3d..54a670dd 100644 --- a/GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift +++ b/GME Remit/Modules/ManageAgreement/User Interface/View/ManageAgreementViewController.swift @@ -19,7 +19,6 @@ class ManageAgreementViewController: UIViewController { private var isFirst = true private var documents: [AgreePDFDocument]? private var titleLabels: [UILabel]? - private var csManager: CSManagement? // MARK: Computed Properties // MARK: IBOutlets @@ -137,9 +136,6 @@ extension ManageAgreementViewController { documentTitleLabel4, documentTitleLabel5, documentTitleLabel6 ] - csManager = CSManagement(self) - csManager?.setNavigationRightBarbutton(type: .call) - setMultiLanguages() } diff --git a/GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegisterViewController.swift b/GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegisterViewController.swift index 708d83d7..f2428ae6 100644 --- a/GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegisterViewController.swift +++ b/GME Remit/Modules/RegisterModules/UserAuthentication/NewRegister/User Interface/View/NewRegisterViewController.swift @@ -32,7 +32,6 @@ class NewRegisterViewController: UIViewController { private let disposeBag = DisposeBag() private var stepButtons = [UIButton]() - private var csManager: CSManagement? // MARK: Computed Properties // MARK: IBOutlets @@ -115,9 +114,6 @@ extension NewRegisterViewController { step3Button ] - csManager = CSManagement(self) - csManager?.setNavigationRightBarbutton(type: .call) - setMultilanguages() } diff --git a/GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/User Interface/View/DomesticRemitViewController.swift b/GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/User Interface/View/DomesticRemitViewController.swift index 3f376204..83191296 100644 --- a/GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/User Interface/View/DomesticRemitViewController.swift +++ b/GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/User Interface/View/DomesticRemitViewController.swift @@ -9,7 +9,6 @@ import UIKit import RxSwift import RxCocoa -import ChannelIO class DomesticRemitViewController: UIViewController { diff --git a/GME Remit/Modules/SplashScreen/User Interface/View/SplashScreen.storyboard b/GME Remit/Modules/SplashScreen/User Interface/View/SplashScreen.storyboard index ce26e0b3..1920d5f9 100644 --- a/GME Remit/Modules/SplashScreen/User Interface/View/SplashScreen.storyboard +++ b/GME Remit/Modules/SplashScreen/User Interface/View/SplashScreen.storyboard @@ -477,7 +477,7 @@ -