Skip to content

Commit 3a3ae32

Browse files
authored
Merge pull request #610 from mindbox-cloud/release/2.14.3
Release 2.14.3
2 parents ebe7e91 + 957d3d1 commit 3a3ae32

File tree

10 files changed

+405
-7
lines changed

10 files changed

+405
-7
lines changed

Mindbox.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = "Mindbox"
3-
spec.version = "2.14.2"
3+
spec.version = "2.14.3"
44
spec.summary = "SDK for integration with Mindbox"
55
spec.description = "This library allows you to integrate data transfer to Mindbox Marketing Cloud"
66
spec.homepage = "https://github.com/mindbox-cloud/ios-sdk"
@@ -14,7 +14,7 @@ Pod::Spec.new do |spec|
1414
'Mindbox' => ['Mindbox/**/*.xcassets', 'Mindbox/**/*.xcdatamodeld', 'Mindbox/**/*.xcprivacy']
1515
}
1616
spec.swift_version = "5"
17-
spec.dependency 'MindboxLogger', '2.14.2'
17+
spec.dependency 'MindboxLogger', '2.14.3'
1818
spec.dependency 'MindboxCommon', '2.14.2'
1919

2020
end

Mindbox.xcodeproj/project.pbxproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@
399399
F31470962B96681F00E01E5C /* 27-TargetingRequests.json in Resources */ = {isa = PBXBuildFile; fileRef = F31470952B96681F00E01E5C /* 27-TargetingRequests.json */; };
400400
F31470982B9668F100E01E5C /* 31-TargetingRequests.json in Resources */ = {isa = PBXBuildFile; fileRef = F31470972B9668F100E01E5C /* 31-TargetingRequests.json */; };
401401
F315503F2BBB24E20072A071 /* TTLValidationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = F315503E2BBB24E20072A071 /* TTLValidationService.swift */; };
402+
F31909992E979D9E00373E2F /* MindboxAppDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = F31909982E979D9E00373E2F /* MindboxAppDelegateProxy.swift */; };
402403
F31A94782BC6995500E6C978 /* InappFrequency.swift in Sources */ = {isa = PBXBuildFile; fileRef = F31A94772BC6995500E6C978 /* InappFrequency.swift */; };
403404
F31A947C2BC69E3900E6C978 /* PeriodicFrequency.swift in Sources */ = {isa = PBXBuildFile; fileRef = F31A947B2BC69E3900E6C978 /* PeriodicFrequency.swift */; };
404405
F31A947E2BC6A00D00E6C978 /* OnceFrequency.swift in Sources */ = {isa = PBXBuildFile; fileRef = F31A947D2BC6A00D00E6C978 /* OnceFrequency.swift */; };
@@ -573,6 +574,7 @@
573574
F3D925AD2A1236F400135C87 /* URLSessionImageDownloaderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3D925AC2A1236F400135C87 /* URLSessionImageDownloaderTests.swift */; };
574575
F3DEB33B2D4377D000D0EFA4 /* InappSessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3DEB33A2D4377D000D0EFA4 /* InappSessionManager.swift */; };
575576
F3E3EEA62CFA27EC00AAC91A /* Tag+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3E3EEA52CFA27EC00AAC91A /* Tag+Extensions.swift */; };
577+
F3E59D9D2E96440700A048F5 /* MindboxApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3E59D9C2E96440700A048F5 /* MindboxApp.swift */; };
576578
F3EB95712DE44684000E221B /* InappPresentationValidator.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3EB95702DE44684000E221B /* InappPresentationValidator.swift */; };
577579
F3EC93B72AF0FDCD0030D107 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = F3EC93B62AF0FDCD0030D107 /* PrivacyInfo.xcprivacy */; };
578580
F3EC93B92AF1041A0030D107 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = F3EC93B82AF1041A0030D107 /* PrivacyInfo.xcprivacy */; };
@@ -1035,6 +1037,7 @@
10351037
F31470952B96681F00E01E5C /* 27-TargetingRequests.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "27-TargetingRequests.json"; sourceTree = "<group>"; };
10361038
F31470972B9668F100E01E5C /* 31-TargetingRequests.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "31-TargetingRequests.json"; sourceTree = "<group>"; };
10371039
F315503E2BBB24E20072A071 /* TTLValidationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TTLValidationService.swift; sourceTree = "<group>"; };
1040+
F31909982E979D9E00373E2F /* MindboxAppDelegateProxy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MindboxAppDelegateProxy.swift; sourceTree = "<group>"; };
10381041
F31A94772BC6995500E6C978 /* InappFrequency.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InappFrequency.swift; sourceTree = "<group>"; };
10391042
F31A947B2BC69E3900E6C978 /* PeriodicFrequency.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PeriodicFrequency.swift; sourceTree = "<group>"; };
10401043
F31A947D2BC6A00D00E6C978 /* OnceFrequency.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnceFrequency.swift; sourceTree = "<group>"; };
@@ -1209,6 +1212,7 @@
12091212
F3D925AC2A1236F400135C87 /* URLSessionImageDownloaderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSessionImageDownloaderTests.swift; sourceTree = "<group>"; };
12101213
F3DEB33A2D4377D000D0EFA4 /* InappSessionManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InappSessionManager.swift; sourceTree = "<group>"; };
12111214
F3E3EEA52CFA27EC00AAC91A /* Tag+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Tag+Extensions.swift"; sourceTree = "<group>"; };
1215+
F3E59D9C2E96440700A048F5 /* MindboxApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MindboxApp.swift; sourceTree = "<group>"; };
12121216
F3EB95702DE44684000E221B /* InappPresentationValidator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InappPresentationValidator.swift; sourceTree = "<group>"; };
12131217
F3EC93B62AF0FDCD0030D107 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
12141218
F3EC93B82AF1041A0030D107 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
@@ -1420,6 +1424,7 @@
14201424
31A20D4A25B6E09900AAA0A3 /* Utilities */ = {
14211425
isa = PBXGroup;
14221426
children = (
1427+
F31909972E979D8200373E2F /* AppDelegateProxy */,
14231428
47BD5BF82C578AD700F965C0 /* Migrations */,
14241429
F3D818AE2A3885A40002957C /* ABTestDeviceMixer */,
14251430
9B9C952E2921116F00BB29DA /* UUIDDebugService */,
@@ -2630,6 +2635,14 @@
26302635
path = Services;
26312636
sourceTree = "<group>";
26322637
};
2638+
F31909972E979D8200373E2F /* AppDelegateProxy */ = {
2639+
isa = PBXGroup;
2640+
children = (
2641+
F31909982E979D9E00373E2F /* MindboxAppDelegateProxy.swift */,
2642+
);
2643+
path = AppDelegateProxy;
2644+
sourceTree = "<group>";
2645+
};
26332646
F31A94792BC69E0500E6C978 /* InappFrequency */ = {
26342647
isa = PBXGroup;
26352648
children = (
@@ -3012,6 +3025,7 @@
30123025
isa = PBXGroup;
30133026
children = (
30143027
F34A45AD2B7628B700634C8B /* MBPushNotification.swift */,
3028+
F3E59D9C2E96440700A048F5 /* MindboxApp.swift */,
30153029
);
30163030
path = PublicModels;
30173031
sourceTree = "<group>";
@@ -3723,6 +3737,7 @@
37233737
F331DD162A840D1700222120 /* iFormVariant.swift in Sources */,
37243738
84C65E6825D4FE41008996FA /* BodyEncoder.swift in Sources */,
37253739
9B33F3CD28D0986900A3FFF9 /* CustomerSegmentsAPI.swift in Sources */,
3740+
F3E59D9D2E96440700A048F5 /* MindboxApp.swift in Sources */,
37263741
B3F4F982268EEAC90092EC3C /* AmountBenefitsResponse.swift in Sources */,
37273742
31A20D4C25B6E0D700AAA0A3 /* MindboxErrors.swift in Sources */,
37283743
334F3ADF264C199900A6AC00 /* SubViewProductRequest.swift in Sources */,
@@ -3942,6 +3957,7 @@
39423957
47DF1FB02E7D6F90009BC4A0 /* DatabaseLoaderProtocol.swift in Sources */,
39433958
F31A94802BC7E61800E6C978 /* InappFrequencyValidator.swift in Sources */,
39443959
33072F322664C357001F1AB2 /* ProductListResponse.swift in Sources */,
3960+
F31909992E979D9E00373E2F /* MindboxAppDelegateProxy.swift in Sources */,
39453961
9B24FAB128C74BD200F10B5D /* InAppConfigurationManager.swift in Sources */,
39463962
F382F20D2BAC548900BC97FF /* VisitTargetingChecker.swift in Sources */,
39473963
334F3AF0264C199900A6AC00 /* DiscountRequest.swift in Sources */,
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
//
2+
// MindboxApp.swift
3+
// Mindbox
4+
//
5+
// Created by Akylbek Utekeshev on 08.10.2025.
6+
// Copyright © 2025 Mindbox. All rights reserved.
7+
//
8+
9+
import Foundation
10+
import UIKit
11+
12+
@available(iOS 11.0, *)
13+
public final class MindboxApp {
14+
15+
@discardableResult
16+
public static func configure(launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil, BGTasksNeeded: Bool = true) -> Bool {
17+
MindboxAppDelegateProxy.configure(launchOptions: launchOptions, BGTasksNeeded: BGTasksNeeded)
18+
return true
19+
}
20+
}

0 commit comments

Comments
 (0)