From 78498dc1ab62db49e3717d6add441ff37a7fa464 Mon Sep 17 00:00:00 2001 From: Yurii Dukhovnyi Date: Wed, 28 Jul 2021 18:06:58 +0300 Subject: [PATCH] GliaWidgetsSDK 0.5.0 --- .swiftlint.yml | 1 + GliaWidgets/Info.plist | 2 +- GliaWidgetsTests/Info.plist | 2 +- Package.swift | 8 ++++---- Podfile | 2 +- Podfile.lock | 12 ++++++------ TestingApp/AppDelegate.swift | 10 ++++++++-- TestingApp/Info.plist | 2 +- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/.swiftlint.yml b/.swiftlint.yml index 810f69d2d..0d686653f 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -17,6 +17,7 @@ opt_in_rules: excluded: # paths to ignore during linting. Takes precedence over `included`. - Carthage - Pods + - DerivedData cyclomatic_complexity: ignores_case_statements: true diff --git a/GliaWidgets/Info.plist b/GliaWidgets/Info.plist index 9bcb24442..9e09f425d 100644 --- a/GliaWidgets/Info.plist +++ b/GliaWidgets/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + 0.5.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/GliaWidgetsTests/Info.plist b/GliaWidgetsTests/Info.plist index 64d65ca49..cc066a0c4 100644 --- a/GliaWidgetsTests/Info.plist +++ b/GliaWidgetsTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + 0.5.0 CFBundleVersion 1 diff --git a/Package.swift b/Package.swift index fa7269758..d64a8b616 100644 --- a/Package.swift +++ b/Package.swift @@ -26,13 +26,13 @@ let package = Package( ), .binaryTarget( name: "SalemoveSDK", - url: "https://github.com/salemove/ios-bundle/releases/download/0.29.6/SalemoveSDK.xcframework.zip", - checksum: "d4e04e0fe665e2d5eb15d5897548d5aac3a7fc8e41356ff854fc238e7887081e" + url: "https://github.com/salemove/ios-bundle/releases/download/0.30.0/SalemoveSDK.xcframework.zip", + checksum: "6d9beb6fa22f02ae1f20aa7d8259744becf83ff354e5ea7e01310ae30a390cfe" ), .binaryTarget( name: "GliaWidgets", - url: "https://github.com/salemove/ios-sdk-widgets/releases/download/0.4.8/GliaWidgets.xcframework.zip", - checksum: "6b39996176fbc2a96c37d082d8a899d2e5b7cd99dba0a2ee853ad12bbc821cd6" + url: "https://github.com/salemove/ios-sdk-widgets/releases/download/0.5.0/GliaWidgets.xcframework.zip", + checksum: "d7a63774d8d1595103015a3e56436fe8e48ff211bcbefdd7db206cfa48d88145" ), .binaryTarget( name: "PureLayout", diff --git a/Podfile b/Podfile index 0610d610d..571d5c62b 100644 --- a/Podfile +++ b/Podfile @@ -17,7 +17,7 @@ target 'GliaWidgets' do use_frameworks! pod 'PureLayout', '~> 3.1' - pod 'SalemoveSDK', :git => 'https://github.com/salemove/ios-bundle', :tag => "0.29.6" + pod 'SalemoveSDK', :git => 'https://github.com/salemove/ios-bundle', :tag => "0.30.0" end post_install do |installer| diff --git a/Podfile.lock b/Podfile.lock index 77bc3fb5f..280055122 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,14 +1,14 @@ PODS: - glia-webrtc/bitcode (0.0.3) - PureLayout (3.1.8) - - SalemoveSDK (0.29.6): + - SalemoveSDK (0.30.0): - glia-webrtc/bitcode (= 0.0.3) - TwilioVoice (= 6.2.0) - TwilioVoice (6.2.0) DEPENDENCIES: - PureLayout (~> 3.1) - - SalemoveSDK (from `https://github.com/salemove/ios-bundle`, tag `0.29.6`) + - SalemoveSDK (from `https://github.com/salemove/ios-bundle`, tag `0.30.0`) SPEC REPOS: https://github.com/CocoaPods/Specs.git: @@ -19,19 +19,19 @@ SPEC REPOS: EXTERNAL SOURCES: SalemoveSDK: :git: https://github.com/salemove/ios-bundle - :tag: 0.29.6 + :tag: 0.30.0 CHECKOUT OPTIONS: SalemoveSDK: :git: https://github.com/salemove/ios-bundle - :tag: 0.29.6 + :tag: 0.30.0 SPEC CHECKSUMS: glia-webrtc: a5c7e59ae752281d19734b4f918db9da39e8009d PureLayout: a4afb3d79dd958564ce33d22c89f407280d8e6a8 - SalemoveSDK: 98efa597a1b0018dad0a7aafa7961f3ab156266b + SalemoveSDK: fd551f27e654982d8c5193d17334780e4276fa23 TwilioVoice: 5e6fd6b5e99dfec03dcb57331f7e7c77ad79f1f0 -PODFILE CHECKSUM: 30dffa39e040c50af43d8eb1e530122b042398ce +PODFILE CHECKSUM: 2e201b7a59bc5a16ece9d45fb647e029c195730f COCOAPODS: 1.10.1 diff --git a/TestingApp/AppDelegate.swift b/TestingApp/AppDelegate.swift index d154debfd..5f0516b80 100644 --- a/TestingApp/AppDelegate.swift +++ b/TestingApp/AppDelegate.swift @@ -7,13 +7,19 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var salemoveDelegate = SalemoveAppDelegate() func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { - salemoveDelegate.application(application, didFinishLaunchingWithOptions: launchOptions) + salemoveDelegate.application( + application, + didFinishLaunchingWithOptions: launchOptions + ) return true } func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) { print("Registered for remote notifications") - salemoveDelegate.application(application, didRegisterForRemoteNotificationsWithDeviceToken: deviceToken) + Salemove.sharedInstance.pushNotifications.application( + application, + didRegisterForRemoteNotificationsWithDeviceToken: deviceToken + ) } func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) { diff --git a/TestingApp/Info.plist b/TestingApp/Info.plist index 5e89c3ad1..6191b8a89 100644 --- a/TestingApp/Info.plist +++ b/TestingApp/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + 0.5.0 CFBundleVersion 1 LSRequiresIPhoneOS