From 04901c739fc1d2622595eaf3afbe24de01b64cb7 Mon Sep 17 00:00:00 2001 From: Patricia Date: Mon, 29 Nov 2021 09:40:11 -0300 Subject: [PATCH 1/4] fix: change dog animation --- Letrando/Letrando.xcodeproj/project.pbxproj | 4 ++-- Letrando/Letrando/Game/View/GameView.swift | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Letrando/Letrando.xcodeproj/project.pbxproj b/Letrando/Letrando.xcodeproj/project.pbxproj index e25bbf1..07f20f3 100644 --- a/Letrando/Letrando.xcodeproj/project.pbxproj +++ b/Letrando/Letrando.xcodeproj/project.pbxproj @@ -1067,7 +1067,7 @@ CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 9; + CURRENT_PROJECT_VERSION = 4; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; @@ -1092,7 +1092,7 @@ CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 9; + CURRENT_PROJECT_VERSION = 4; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; diff --git a/Letrando/Letrando/Game/View/GameView.swift b/Letrando/Letrando/Game/View/GameView.swift index badb02c..91631a4 100644 --- a/Letrando/Letrando/Game/View/GameView.swift +++ b/Letrando/Letrando/Game/View/GameView.swift @@ -158,9 +158,7 @@ class GameView: UIView, ViewCodable, GameViewProtocol { }, completion: { [weak self] _ in self?.animateDogOut(initialPositionX) }) - if !userDefaults.bool(forKey: UserDefaultsKey.onboardingIsOn.rawValue) { try? SoundsKit.playAlert() - } } private func animateDogOut(_ initialPositionX: CGFloat) { @@ -177,7 +175,8 @@ extension GameView: GameViewDelegate { func changeMessageLabelHiding(for value: Bool) { DispatchQueue.main.async { [weak self] in self?.findAnotherPlaceMessageLabel.isHidden = value - if !(self?.isDogAnimated ?? false) { + if !(self?.isDogAnimated ?? false) && + !(self?.userDefaults.bool(forKey: UserDefaultsKey.onboardingIsOn.rawValue) ?? false) { self?.dogSearchingImageViewAnimation() self?.isDogAnimated = true } From 3f497aaf925194fbf4004ec95a6c2ed9ac0a2bcc Mon Sep 17 00:00:00 2001 From: Patricia Date: Mon, 29 Nov 2021 10:03:04 -0300 Subject: [PATCH 2/4] fix: change audio key --- Letrando/Letrando.xcodeproj/project.pbxproj | 8 ++++---- Letrando/Letrando/Info.plist | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Letrando/Letrando.xcodeproj/project.pbxproj b/Letrando/Letrando.xcodeproj/project.pbxproj index 07f20f3..ab7c03b 100644 --- a/Letrando/Letrando.xcodeproj/project.pbxproj +++ b/Letrando/Letrando.xcodeproj/project.pbxproj @@ -1066,9 +1066,9 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 4; - DEVELOPMENT_TEAM = ""; + DEVELOPMENT_TEAM = 937MK3AF6X; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1091,9 +1091,9 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 4; - DEVELOPMENT_TEAM = ""; + DEVELOPMENT_TEAM = 937MK3AF6X; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( diff --git a/Letrando/Letrando/Info.plist b/Letrando/Letrando/Info.plist index 767b818..b900105 100644 --- a/Letrando/Letrando/Info.plist +++ b/Letrando/Letrando/Info.plist @@ -42,9 +42,7 @@ UIApplicationSupportsIndirectInputEvents UIBackgroundModes - - audio - + UILaunchStoryboardName LaunchScreen UIMainStoryboardFile From 41ac7528c4ce782ba5d276e08a7dda65032f1b0a Mon Sep 17 00:00:00 2001 From: Patricia Date: Mon, 29 Nov 2021 10:06:04 -0300 Subject: [PATCH 3/4] fix: change audio key --- Letrando/Letrando.xcodeproj/project.pbxproj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Letrando/Letrando.xcodeproj/project.pbxproj b/Letrando/Letrando.xcodeproj/project.pbxproj index ab7c03b..07f20f3 100644 --- a/Letrando/Letrando.xcodeproj/project.pbxproj +++ b/Letrando/Letrando.xcodeproj/project.pbxproj @@ -1066,9 +1066,9 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 4; - DEVELOPMENT_TEAM = 937MK3AF6X; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -1091,9 +1091,9 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 4; - DEVELOPMENT_TEAM = 937MK3AF6X; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( From 392d550f9b0d08ce89b42ab20b4172c70953eb96 Mon Sep 17 00:00:00 2001 From: Patricia Date: Mon, 29 Nov 2021 10:09:12 -0300 Subject: [PATCH 4/4] fix: change audio key --- Letrando/Letrando.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Letrando/Letrando.xcodeproj/project.pbxproj b/Letrando/Letrando.xcodeproj/project.pbxproj index 07f20f3..d4a2411 100644 --- a/Letrando/Letrando.xcodeproj/project.pbxproj +++ b/Letrando/Letrando.xcodeproj/project.pbxproj @@ -1067,7 +1067,7 @@ CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 5; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0; @@ -1092,7 +1092,7 @@ CODE_SIGN_ENTITLEMENTS = Letrando/Letrando.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 5; DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = Letrando/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 14.0;