From 294d78a5a94b2ca40548a54be3b7ca9c2f2a7a33 Mon Sep 17 00:00:00 2001 From: mikemilla Date: Fri, 4 Oct 2024 13:40:23 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=205.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Courier_iOS.podspec | 2 +- Example/Example.xcodeproj/project.pbxproj | 8 ++++---- Scripts/run_tests.sh | 2 +- Sources/Courier_iOS/Courier_iOS.swift | 2 +- Tests/CourierTests/Env.swift | 17 +++++++++++++++++ 5 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 Tests/CourierTests/Env.swift diff --git a/Courier_iOS.podspec b/Courier_iOS.podspec index 3ecdf87b..669a39c3 100644 --- a/Courier_iOS.podspec +++ b/Courier_iOS.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'Courier_iOS' - s.version = '4.5.4' + s.version = '5.0.0' s.summary = 'Courier makes it easy to add notifications to your app' s.homepage = 'https://github.com/trycourier/courier-ios' diff --git a/Example/Example.xcodeproj/project.pbxproj b/Example/Example.xcodeproj/project.pbxproj index 96edd7b5..03cb1071 100644 --- a/Example/Example.xcodeproj/project.pbxproj +++ b/Example/Example.xcodeproj/project.pbxproj @@ -508,7 +508,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 51; + CURRENT_PROJECT_VERSION = 52; DEVELOPMENT_TEAM = 83BJVWGX4Q; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = Example/Info.plist; @@ -539,7 +539,7 @@ ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 51; + CURRENT_PROJECT_VERSION = 52; DEVELOPMENT_TEAM = 83BJVWGX4Q; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = Example/Info.plist; @@ -566,7 +566,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 51; + CURRENT_PROJECT_VERSION = 52; DEVELOPMENT_TEAM = 83BJVWGX4Q; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = CourierService/Info.plist; @@ -592,7 +592,7 @@ isa = XCBuildConfiguration; buildSettings = { CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 51; + CURRENT_PROJECT_VERSION = 52; DEVELOPMENT_TEAM = 83BJVWGX4Q; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = CourierService/Info.plist; diff --git a/Scripts/run_tests.sh b/Scripts/run_tests.sh index d21d63f0..f4f78deb 100644 --- a/Scripts/run_tests.sh +++ b/Scripts/run_tests.sh @@ -4,7 +4,7 @@ cd "$(dirname "$0")/.." # Default simulator -DEFAULT_SIMULATOR="iPhone 15 Pro,OS=17.4" +DEFAULT_SIMULATOR="iPhone 16 Pro,OS=18.0" # Prompt the user for the simulator, with a default value read -p "Which simulator should start? (press Enter for default: '$DEFAULT_SIMULATOR'): " user_simulator diff --git a/Sources/Courier_iOS/Courier_iOS.swift b/Sources/Courier_iOS/Courier_iOS.swift index a2f1f499..bc85d4cb 100644 --- a/Sources/Courier_iOS/Courier_iOS.swift +++ b/Sources/Courier_iOS/Courier_iOS.swift @@ -29,7 +29,7 @@ import UIKit /** * Versioning */ - internal static let version = "4.5.4" + internal static let version = "5.0.0" @objc public static var agent = CourierAgent.nativeIOS(version) /** diff --git a/Tests/CourierTests/Env.swift b/Tests/CourierTests/Env.swift new file mode 100644 index 00000000..e41047fd --- /dev/null +++ b/Tests/CourierTests/Env.swift @@ -0,0 +1,17 @@ +// +// Env.swift +// +// Created by https://github.com/mikemilla on 9/11/22. +// + +import Foundation + +class Env { + + static let COURIER_USER_ID = UUID().uuidString + static let COURIER_AUTH_KEY = "pk_prod_V1TMCW4FEG4PZNM52P4EM55D1SF2" + static let COURIER_CLIENT_KEY = "NmE1MWJmOGMtYWQyZS00MmJmLWJlNmEtODM4NWI1ZDRhMGY1" + static let COURIER_BRAND_ID = "7S9RBWHHS9MBYRPSRYAFYF9K3Q1M" + static let COURIER_PREFERENCE_TOPIC_ID = "0ZR4JTDHZ0MHVSMSM3MW0YX62X6N" + +}