From 31c6ff78724ff5fffbeb4e833bd8b1954f92f77d Mon Sep 17 00:00:00 2001 From: Raz Date: Tue, 23 Jul 2024 13:06:16 +0200 Subject: [PATCH] release v1.0.0 --- PadelClub.xcodeproj/project.pbxproj | 8 ++++---- PadelClub/Utils/URLs.swift | 12 +++++++++--- PadelClub/Views/Tournament/Subscription/Guard.swift | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/PadelClub.xcodeproj/project.pbxproj b/PadelClub.xcodeproj/project.pbxproj index 2933cfc..f8b50a6 100644 --- a/PadelClub.xcodeproj/project.pbxproj +++ b/PadelClub.xcodeproj/project.pbxproj @@ -1935,7 +1935,7 @@ CODE_SIGN_ENTITLEMENTS = PadelClub/PadelClub.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 103; + CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DEVELOPMENT_ASSET_PATHS = "\"PadelClub/Preview Content\""; @@ -1960,7 +1960,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.1; + MARKETING_VERSION = 1.0.0; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; OTHER_SWIFT_FLAGS = "-Onone"; PRODUCT_BUNDLE_IDENTIFIER = app.padelclub; @@ -1985,7 +1985,7 @@ CODE_SIGN_ENTITLEMENTS = PadelClub/PadelClub.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 103; + CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; DEVELOPMENT_ASSET_PATHS = "\"PadelClub/Preview Content\""; DEVELOPMENT_TEAM = BQ3Y44M3Q6; @@ -2008,7 +2008,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.1; + MARKETING_VERSION = 1.0.0; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-function-bodies=5 -Xfrontend -warn-long-expression-type-checking=20 -Xfrontend -warn-long-function-bodies=50"; PRODUCT_BUNDLE_IDENTIFIER = app.padelclub; diff --git a/PadelClub/Utils/URLs.swift b/PadelClub/Utils/URLs.swift index 9867553..c9b975a 100644 --- a/PadelClub/Utils/URLs.swift +++ b/PadelClub/Utils/URLs.swift @@ -8,11 +8,17 @@ import Foundation enum URLs: String, Identifiable { - - case activationHost = "https://xlr.alwaysdata.net" // xlr.alwaysdata.net - case subscriptions = "https://apple.co/2Th4vqI" + + #if DEBUG + case activationHost = "xlr.alwaysdata.net" // xlr.alwaysdata.net case main = "https://xlr.alwaysdata.net/" case api = "https://xlr.alwaysdata.net/roads/" + #else + case activationHost = "padelclub.app" // xlr.alwaysdata.net + case main = "https://padelclub.app/" + case api = "https://padelclub.app/roads/" + #endif + case subscriptions = "https://apple.co/2Th4vqI" case beachPadel = "https://beach-padel.app.fft.fr/beachja/index/" //case padelClub = "https://padelclub.app" case tenup = "https://tenup.fft.fr" diff --git a/PadelClub/Views/Tournament/Subscription/Guard.swift b/PadelClub/Views/Tournament/Subscription/Guard.swift index 36c77cd..35fcc61 100644 --- a/PadelClub/Views/Tournament/Subscription/Guard.swift +++ b/PadelClub/Views/Tournament/Subscription/Guard.swift @@ -140,7 +140,7 @@ import LeStorage } var currentPlan: StoreItem? { - return .monthlyUnlimited + //return .monthlyUnlimited // #if DEBUG // return .monthlyUnlimited // #else