From fb839f5a714ca1380633ee776921a10cd5afb235 Mon Sep 17 00:00:00 2001 From: Sagi Date: Mon, 23 Aug 2021 12:31:35 +0300 Subject: [PATCH] update version, fix minor bug in webBridge. --- Gigya.podspec | 4 ++-- GigyaSwift.xcodeproj/project.pbxproj | 8 ++++---- GigyaSwift/Global/Plugins/GigyaWebBridge.swift | 2 ++ Podfile | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Gigya.podspec b/Gigya.podspec index 679641c8..ef7c78f5 100644 --- a/Gigya.podspec +++ b/Gigya.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'Gigya' - spec.version = '1.2.2' + spec.version = '1.2.3' spec.license = 'Apache 2.0' spec.homepage = 'https://developers.gigya.com/display/GD/Swift+SDK' spec.author = 'Gigya SAP' @@ -10,7 +10,7 @@ Pod::Spec.new do |spec| your Swift application DESC - spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'core/v1.2.2' } + spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'core/v1.2.3' } spec.module_name = 'Gigya' spec.swift_version = '5.3' diff --git a/GigyaSwift.xcodeproj/project.pbxproj b/GigyaSwift.xcodeproj/project.pbxproj index 39ddd037..cfbf6417 100644 --- a/GigyaSwift.xcodeproj/project.pbxproj +++ b/GigyaSwift.xcodeproj/project.pbxproj @@ -2329,7 +2329,7 @@ CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 120; + CURRENT_PROJECT_VERSION = 122; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = 52P2295V75; DYLIB_COMPATIBILITY_VERSION = 1; @@ -2349,7 +2349,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.2.2; + MARKETING_VERSION = 1.2.3; MODULEMAP_FILE = ""; MODULEMAP_PRIVATE_FILE = ""; ONLY_ACTIVE_ARCH = NO; @@ -2387,7 +2387,7 @@ CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 120; + CURRENT_PROJECT_VERSION = 122; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = 52P2295V75; DYLIB_COMPATIBILITY_VERSION = 1; @@ -2407,7 +2407,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.2.2; + MARKETING_VERSION = 1.2.3; MODULEMAP_FILE = ""; MODULEMAP_PRIVATE_FILE = ""; ONLY_ACTIVE_ARCH = NO; diff --git a/GigyaSwift/Global/Plugins/GigyaWebBridge.swift b/GigyaSwift/Global/Plugins/GigyaWebBridge.swift index 7066cfe1..0fc361b8 100644 --- a/GigyaSwift/Global/Plugins/GigyaWebBridge.swift +++ b/GigyaSwift/Global/Plugins/GigyaWebBridge.swift @@ -213,6 +213,8 @@ public class GigyaWebBridge: NSObject, WKScriptMessageH self.completion(.error(event: data.toDictionary())) self.invokeCallback(callbackId: callbackId, and: data.asJson()) default: + let dic: [String: Any] = ["errorCode": 400, "statusCode": 0] + self.invokeCallback(callbackId: callbackId, and: dic.asJson) break } } diff --git a/Podfile b/Podfile index 8e52c77f..ed3d04fb 100644 --- a/Podfile +++ b/Podfile @@ -12,7 +12,7 @@ target 'TestApp' do # Pods for TestApp pod 'LineSDKSwift', '~> 5.0' - pod 'GoogleSignIn', '5.0.1', :modular_headers => false + pod 'GoogleSignIn', '6.0.1', :modular_headers => false pod 'FBSDKCoreKit', '7.0.1' pod 'FBSDKLoginKit', '7.0.1'