diff --git a/goSellSDK.podspec b/goSellSDK.podspec index 9173b71..7137928 100644 --- a/goSellSDK.podspec +++ b/goSellSDK.podspec @@ -6,7 +6,7 @@ Pod::Spec.new do |goSellSDK| goSellSDK.name = 'goSellSDK' goSellSDK.summary = 'goSell SDK for iOS' goSellSDK.requires_arc = true - goSellSDK.version = '2.3.42' + goSellSDK.version = '2.3.43' goSellSDK.license = { :type => 'MIT', :file => 'LICENSE' } goSellSDK.author = { 'Tap Payments' => 'hello@tap.company' } goSellSDK.homepage = 'https://github.com/Tap-Payments/goSellSDK-iOS' diff --git a/goSellSDK/Core/UI/Internal/Controllers/BaseViewController.swift b/goSellSDK/Core/UI/Internal/Controllers/BaseViewController.swift index c4809c1..77b1db7 100644 --- a/goSellSDK/Core/UI/Internal/Controllers/BaseViewController.swift +++ b/goSellSDK/Core/UI/Internal/Controllers/BaseViewController.swift @@ -121,7 +121,8 @@ internal class BaseViewController: UIViewController, LocalizationObserver, Layou guard self.keyboardObserver == nil else { return } self.keyboardObserver = NotificationCenter.default.addObserver(forName: .tap_keyboardWillChangeFrameNotificationName, object: nil, queue: .main) { [weak self] (notification) in - + // Added to prevent animation in reduced motion enabled + if UIAccessibility.isReduceMotionEnabled { return } self?.keyboardWillChangeFrame(notification) } }