Skip to content

Commit 085b4b2

Browse files
update XCFramework
1 parent 925f251 commit 085b4b2

File tree

47 files changed

+278
-144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+278
-144
lines changed

Example/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- ConsentViewController (6.3.0)
2+
- ConsentViewController (6.3.1)
33
- IQKeyboardManagerSwift (6.5.6)
44
- Nimble (9.2.0)
55
- Quick (4.0.0)
@@ -27,7 +27,7 @@ EXTERNAL SOURCES:
2727
:path: "../"
2828

2929
SPEC CHECKSUMS:
30-
ConsentViewController: 45c2cd53ffdc74eb2063703206d152e79e80513d
30+
ConsentViewController: ef75912e9475ca1c7d2c27aff6680f1df699d1d3
3131
IQKeyboardManagerSwift: c7df9d2deb356c04522f5c4b7b6e4ce4d8ed94fe
3232
Nimble: 4f4a345c80b503b3ea13606a4f98405974ee4d0b
3333
Quick: 6473349e43b9271a8d43839d9ba1c442ed1b7ac4

Example/Pods/Local Podspecs/ConsentViewController.podspec.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/ConsentViewController-iOS/ConsentViewController-iOS-Info.plist

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/ConsentViewController-iOS/ResourceBundle-ConsentViewController-ConsentViewController-iOS-Info.plist

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/ConsentViewController-tvOS/ConsentViewController-tvOS-Info.plist

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/ConsentViewController-tvOS/ResourceBundle-ConsentViewController-ConsentViewController-tvOS-Info.plist

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

XCFramework/ConsentViewController.xcframework/ios-arm64_armv7/ConsentViewController.framework/ConsentViewController.bundle/SPJSReceiver.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ var getActionFromMessage = function (eventData) {
4343
id: String(choiceData.choice_id),
4444
type: choiceData.type,
4545
pm_url: choiceData.iframe_url,
46-
consentLanguage: eventData.consentLanguage
46+
consentLanguage: eventData.consentLanguage,
47+
customActionId: choiceData.customAction
4748
};
4849
};
4950

@@ -64,7 +65,8 @@ var handleMessageEvent = function(SDK) {
6465
SDK.onAction({
6566
type: eventData.actionType,
6667
payload: eventData.payload,
67-
consentLanguage: eventData.consentLanguage
68+
consentLanguage: eventData.consentLanguage,
69+
customActionId: eventData.customAction
6870
}) :
6971
SDK.onAction(getActionFromMessage(eventData));
7072
break;

XCFramework/ConsentViewController.xcframework/ios-arm64_armv7/ConsentViewController.framework/ConsentViewController.bundle/javascript/SPJSReceiver.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ var getActionFromMessage = function (eventData) {
4343
id: String(choiceData.choice_id),
4444
type: choiceData.type,
4545
pm_url: choiceData.iframe_url,
46-
consentLanguage: eventData.consentLanguage
46+
consentLanguage: eventData.consentLanguage,
47+
customActionId: choiceData.customAction
4748
};
4849
};
4950

@@ -64,7 +65,8 @@ var handleMessageEvent = function(SDK) {
6465
SDK.onAction({
6566
type: eventData.actionType,
6667
payload: eventData.payload,
67-
consentLanguage: eventData.consentLanguage
68+
consentLanguage: eventData.consentLanguage,
69+
customActionId: eventData.customAction
6870
}) :
6971
SDK.onAction(getActionFromMessage(eventData));
7072
break;

XCFramework/ConsentViewController.xcframework/ios-arm64_armv7/ConsentViewController.framework/Headers/ConsentViewController-Swift.h

+46-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#if 0
22
#elif defined(__arm64__) && __arm64__
3-
// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
3+
// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
44
#ifndef CONSENTVIEWCONTROLLER_SWIFT_H
55
#define CONSENTVIEWCONTROLLER_SWIFT_H
66
#pragma clang diagnostic push
@@ -383,6 +383,7 @@ SWIFT_CLASS("_TtC21ConsentViewController8SPAction")
383383
@property (nonatomic, readonly, copy) NSString * _Nullable consentLanguage;
384384
@property (nonatomic, copy) NSURL * _Nullable pmURL;
385385
@property (nonatomic, readonly, copy) NSString * _Nullable pmId;
386+
@property (nonatomic, copy) NSString * _Nullable customActionId;
386387
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
387388
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
388389
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
@@ -393,6 +394,7 @@ SWIFT_CLASS("_TtC21ConsentViewController8SPAction")
393394
typedef SWIFT_ENUM(NSInteger, SPActionType, open) {
394395
SPActionTypeSaveAndExit = 1,
395396
SPActionTypePMCancel = 2,
397+
SPActionTypeCustom = 9,
396398
SPActionTypeAcceptAll = 11,
397399
SPActionTypeShowPrivacyManager = 12,
398400
SPActionTypeRejectAll = 13,
@@ -591,6 +593,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
591593
+ (void)clearAllData;
592594
@property (nonatomic, readonly) BOOL gdprApplies;
593595
@property (nonatomic, readonly) BOOL ccpaApplies;
596+
/// Returns the user data <em>stored in the <code>UserDefaults</code></em>.
594597
@property (nonatomic, readonly, strong) SPUserData * _Nonnull userData;
595598
- (void)loadMessageForAuthId:(NSString * _Nullable)authId;
596599
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
@@ -620,13 +623,30 @@ SWIFT_PROTOCOL("_TtP21ConsentViewController10SPDelegate_")
620623
/// SPGDPRConsent encapsulates all consent data from a user.
621624
SWIFT_CLASS("_TtC21ConsentViewController13SPGDPRConsent")
622625
@interface SPGDPRConsent : NSObject
626+
/// Convenience initialiser to return an empty consent object.
623627
+ (SPGDPRConsent * _Nonnull)empty SWIFT_WARN_UNUSED_RESULT;
628+
/// The snapshot of user consents. It contains information of all purposes on a vendor per vendor basis.
629+
/// The vendorGrants can be seen as an object in the following shape:
630+
/// \code
631+
/// "vendor1Id": {
632+
/// "granted": true,
633+
/// "purpose1id": true,
634+
/// "purpose2id": true
635+
/// ...
636+
/// },
637+
/// ...
638+
/// }
639+
///
640+
/// \endcodeThe <code>granted</code> attribute indicated whether the vendor has <em>all</em> purposes it needs to be
641+
/// considered fully consented. Either via legitimate interest or explicit user consent.
642+
/// Each key/value pair of <code>"purposeId: Bool</code>, indicates if that purpose has been consented
643+
/// either via leg. interest or explicit user consent.
624644
@property (nonatomic, readonly, copy) NSDictionary<NSString *, SPGDPRVendorGrant *> * _Nonnull vendorGrants;
625645
/// The iAB consent string.
626646
@property (nonatomic, readonly, copy) NSString * _Nonnull euconsent;
627-
/// that’s the internal Sourcepoint id we give to this consent profile
647+
/// That’s the internal Sourcepoint id we give to this consent profile
628648
@property (nonatomic, copy) NSString * _Nullable uuid;
629-
/// a list of ids of the categories accepted by the user in all its vendors.
649+
/// A list of ids of the categories accepted by the user in all its vendors.
630650
/// If a category has been rejected in a single vendor, its id won’t part of the <code>acceptedCategories</code> list.
631651
@property (nonatomic, readonly, copy) NSArray<NSString *> * _Nonnull acceptedCategories;
632652
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@@ -886,7 +906,7 @@ SWIFT_CLASS("_TtC21ConsentViewController12WebViewError")
886906
#endif
887907

888908
#elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__
889-
// Generated by Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
909+
// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
890910
#ifndef CONSENTVIEWCONTROLLER_SWIFT_H
891911
#define CONSENTVIEWCONTROLLER_SWIFT_H
892912
#pragma clang diagnostic push
@@ -1269,6 +1289,7 @@ SWIFT_CLASS("_TtC21ConsentViewController8SPAction")
12691289
@property (nonatomic, readonly, copy) NSString * _Nullable consentLanguage;
12701290
@property (nonatomic, copy) NSURL * _Nullable pmURL;
12711291
@property (nonatomic, readonly, copy) NSString * _Nullable pmId;
1292+
@property (nonatomic, copy) NSString * _Nullable customActionId;
12721293
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
12731294
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
12741295
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
@@ -1279,6 +1300,7 @@ SWIFT_CLASS("_TtC21ConsentViewController8SPAction")
12791300
typedef SWIFT_ENUM(NSInteger, SPActionType, open) {
12801301
SPActionTypeSaveAndExit = 1,
12811302
SPActionTypePMCancel = 2,
1303+
SPActionTypeCustom = 9,
12821304
SPActionTypeAcceptAll = 11,
12831305
SPActionTypeShowPrivacyManager = 12,
12841306
SPActionTypeRejectAll = 13,
@@ -1477,6 +1499,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
14771499
+ (void)clearAllData;
14781500
@property (nonatomic, readonly) BOOL gdprApplies;
14791501
@property (nonatomic, readonly) BOOL ccpaApplies;
1502+
/// Returns the user data <em>stored in the <code>UserDefaults</code></em>.
14801503
@property (nonatomic, readonly, strong) SPUserData * _Nonnull userData;
14811504
- (void)loadMessageForAuthId:(NSString * _Nullable)authId;
14821505
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
@@ -1506,13 +1529,30 @@ SWIFT_PROTOCOL("_TtP21ConsentViewController10SPDelegate_")
15061529
/// SPGDPRConsent encapsulates all consent data from a user.
15071530
SWIFT_CLASS("_TtC21ConsentViewController13SPGDPRConsent")
15081531
@interface SPGDPRConsent : NSObject
1532+
/// Convenience initialiser to return an empty consent object.
15091533
+ (SPGDPRConsent * _Nonnull)empty SWIFT_WARN_UNUSED_RESULT;
1534+
/// The snapshot of user consents. It contains information of all purposes on a vendor per vendor basis.
1535+
/// The vendorGrants can be seen as an object in the following shape:
1536+
/// \code
1537+
/// "vendor1Id": {
1538+
/// "granted": true,
1539+
/// "purpose1id": true,
1540+
/// "purpose2id": true
1541+
/// ...
1542+
/// },
1543+
/// ...
1544+
/// }
1545+
///
1546+
/// \endcodeThe <code>granted</code> attribute indicated whether the vendor has <em>all</em> purposes it needs to be
1547+
/// considered fully consented. Either via legitimate interest or explicit user consent.
1548+
/// Each key/value pair of <code>"purposeId: Bool</code>, indicates if that purpose has been consented
1549+
/// either via leg. interest or explicit user consent.
15101550
@property (nonatomic, readonly, copy) NSDictionary<NSString *, SPGDPRVendorGrant *> * _Nonnull vendorGrants;
15111551
/// The iAB consent string.
15121552
@property (nonatomic, readonly, copy) NSString * _Nonnull euconsent;
1513-
/// that’s the internal Sourcepoint id we give to this consent profile
1553+
/// That’s the internal Sourcepoint id we give to this consent profile
15141554
@property (nonatomic, copy) NSString * _Nullable uuid;
1515-
/// a list of ids of the categories accepted by the user in all its vendors.
1555+
/// A list of ids of the categories accepted by the user in all its vendors.
15161556
/// If a category has been rejected in a single vendor, its id won’t part of the <code>acceptedCategories</code> list.
15171557
@property (nonatomic, readonly, copy) NSArray<NSString *> * _Nonnull acceptedCategories;
15181558
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;

XCFramework/ConsentViewController.xcframework/ios-arm64_armv7/ConsentViewController.framework/Modules/ConsentViewController.swiftmodule/arm.swiftinterface

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// swift-interface-format-version: 1.0
2-
// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
2+
// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
33
// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ConsentViewController
44
import AdSupport
55
import AppTrackingTransparency
@@ -19,6 +19,7 @@ public let MockNativePMResponse: Swift.String
1919
@objc public enum SPActionType : Swift.Int, Swift.Codable, Swift.CaseIterable, Swift.CustomStringConvertible {
2020
case SaveAndExit = 1
2121
case PMCancel = 2
22+
case Custom = 9
2223
case AcceptAll = 11
2324
case ShowPrivacyManager = 12
2425
case RejectAll = 13
@@ -50,11 +51,12 @@ public let MockNativePMResponse: Swift.String
5051
}
5152
public var pmPayload: ConsentViewController.SPJson
5253
public var publisherData: [Swift.String : ConsentViewController.SPJson?]
54+
@objc public var customActionId: Swift.String?
5355
@objc override dynamic public var description: Swift.String {
5456
@objc get
5557
}
5658
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
57-
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil)
59+
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil, customActionId: Swift.String? = nil)
5860
@objc deinit
5961
}
6062
@objc public enum SPCampaignEnv : Swift.Int {

XCFramework/ConsentViewController.xcframework/ios-arm64_armv7/ConsentViewController.framework/Modules/ConsentViewController.swiftmodule/arm64-apple-ios.swiftinterface

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// swift-interface-format-version: 1.0
2-
// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
2+
// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
33
// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ConsentViewController
44
import AdSupport
55
import AppTrackingTransparency
@@ -19,6 +19,7 @@ public let MockNativePMResponse: Swift.String
1919
@objc public enum SPActionType : Swift.Int, Swift.Codable, Swift.CaseIterable, Swift.CustomStringConvertible {
2020
case SaveAndExit = 1
2121
case PMCancel = 2
22+
case Custom = 9
2223
case AcceptAll = 11
2324
case ShowPrivacyManager = 12
2425
case RejectAll = 13
@@ -50,11 +51,12 @@ public let MockNativePMResponse: Swift.String
5051
}
5152
public var pmPayload: ConsentViewController.SPJson
5253
public var publisherData: [Swift.String : ConsentViewController.SPJson?]
54+
@objc public var customActionId: Swift.String?
5355
@objc override dynamic public var description: Swift.String {
5456
@objc get
5557
}
5658
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
57-
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil)
59+
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil, customActionId: Swift.String? = nil)
5860
@objc deinit
5961
}
6062
@objc public enum SPCampaignEnv : Swift.Int {

XCFramework/ConsentViewController.xcframework/ios-arm64_armv7/ConsentViewController.framework/Modules/ConsentViewController.swiftmodule/arm64.swiftinterface

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// swift-interface-format-version: 1.0
2-
// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
2+
// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
33
// swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ConsentViewController
44
import AdSupport
55
import AppTrackingTransparency
@@ -19,6 +19,7 @@ public let MockNativePMResponse: Swift.String
1919
@objc public enum SPActionType : Swift.Int, Swift.Codable, Swift.CaseIterable, Swift.CustomStringConvertible {
2020
case SaveAndExit = 1
2121
case PMCancel = 2
22+
case Custom = 9
2223
case AcceptAll = 11
2324
case ShowPrivacyManager = 12
2425
case RejectAll = 13
@@ -50,11 +51,12 @@ public let MockNativePMResponse: Swift.String
5051
}
5152
public var pmPayload: ConsentViewController.SPJson
5253
public var publisherData: [Swift.String : ConsentViewController.SPJson?]
54+
@objc public var customActionId: Swift.String?
5355
@objc override dynamic public var description: Swift.String {
5456
@objc get
5557
}
5658
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
57-
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil)
59+
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil, customActionId: Swift.String? = nil)
5860
@objc deinit
5961
}
6062
@objc public enum SPCampaignEnv : Swift.Int {

XCFramework/ConsentViewController.xcframework/ios-arm64_armv7/ConsentViewController.framework/Modules/ConsentViewController.swiftmodule/armv7-apple-ios.swiftinterface

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// swift-interface-format-version: 1.0
2-
// swift-compiler-version: Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
2+
// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
33
// swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name ConsentViewController
44
import AdSupport
55
import AppTrackingTransparency
@@ -19,6 +19,7 @@ public let MockNativePMResponse: Swift.String
1919
@objc public enum SPActionType : Swift.Int, Swift.Codable, Swift.CaseIterable, Swift.CustomStringConvertible {
2020
case SaveAndExit = 1
2121
case PMCancel = 2
22+
case Custom = 9
2223
case AcceptAll = 11
2324
case ShowPrivacyManager = 12
2425
case RejectAll = 13
@@ -50,11 +51,12 @@ public let MockNativePMResponse: Swift.String
5051
}
5152
public var pmPayload: ConsentViewController.SPJson
5253
public var publisherData: [Swift.String : ConsentViewController.SPJson?]
54+
@objc public var customActionId: Swift.String?
5355
@objc override dynamic public var description: Swift.String {
5456
@objc get
5557
}
5658
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
57-
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil)
59+
public init(type: ConsentViewController.SPActionType, campaignType: ConsentViewController.SPCampaignType = .unknown, consentLanguage: Swift.String? = nil, pmPayload: ConsentViewController.SPJson = SPJson(), pmurl: Foundation.URL? = nil, customActionId: Swift.String? = nil)
5860
@objc deinit
5961
}
6062
@objc public enum SPCampaignEnv : Swift.Int {

0 commit comments

Comments
 (0)