Skip to content

Commit

Permalink
update XCFramework
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilveirah committed May 6, 2022
1 parent 3812ac7 commit 3033683
Show file tree
Hide file tree
Showing 23 changed files with 319 additions and 185 deletions.
14 changes: 7 additions & 7 deletions XCFramework/ConsentViewController.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>ConsentViewController.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>ConsentViewController.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,13 @@ SWIFT_PROTOCOL("_TtP21ConsentViewController17MessageController_")
@end


SWIFT_CLASS("_TtC21ConsentViewController21MissingChildPmIdError")
@interface MissingChildPmIdError : SPError
@property (nonatomic, readonly, copy) NSString * _Nonnull spCode;
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
@end


@interface NSObject (SWIFT_EXTENSION(ConsentViewController))
- (NSString * _Nullable)toJSON SWIFT_WARN_UNUSED_RESULT;
@end
Expand Down Expand Up @@ -445,7 +452,7 @@ enum SPPrivacyManagerTab : NSInteger;

SWIFT_PROTOCOL("_TtP21ConsentViewController6SPCCPA_")
@protocol SPCCPA
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
@property (nonatomic, readonly) BOOL ccpaApplies;
@end

Expand Down Expand Up @@ -473,7 +480,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
/// that’s the internal Sourcepoint id we give to this consent profile
@property (nonatomic, copy) NSString * _Nullable uuid;
+ (SPCCPAConsent * _Nonnull)rejectedNone SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)initWithUuid:(NSString * _Nullable)uuid status:(enum CCPAConsentStatus)status rejectedVendors:(NSArray<NSString *> * _Nonnull)rejectedVendors rejectedCategories:(NSArray<NSString *> * _Nonnull)rejectedCategories uspstring:(NSString * _Nonnull)uspstring OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithUuid:(NSString * _Nullable)uuid status:(enum CCPAConsentStatus)status rejectedVendors:(NSArray<NSString *> * _Nonnull)rejectedVendors rejectedCategories:(NSArray<NSString *> * _Nonnull)rejectedCategories uspstring:(NSString * _Nonnull)uspstring childPmId:(NSString * _Nullable)childPmId OBJC_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
Expand All @@ -484,7 +491,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
/// Contains information about the property/campaign.
SWIFT_CLASS("_TtC21ConsentViewController10SPCampaign")
@interface SPCampaign : NSObject
- (nonnull instancetype)initWithTargetingParams:(NSDictionary<NSString *, NSString *> * _Nonnull)targetingParams OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithTargetingParams:(NSDictionary<NSString *, NSString *> * _Nonnull)targetingParams groupPmId:(NSString * _Nullable)groupPmId OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -611,7 +618,7 @@ SWIFT_PROTOCOL("_TtP21ConsentViewController19SPMessageUIDelegate_")

SWIFT_PROTOCOL("_TtP21ConsentViewController6SPGDPR_")
@protocol SPGDPR
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
@property (nonatomic, readonly) BOOL gdprApplies;
@end

Expand Down Expand Up @@ -642,8 +649,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
/// Returns the user data <em>stored in the <code>UserDefaults</code></em>.
@property (nonatomic, readonly, strong) SPUserData * _Nonnull userData;
- (void)loadMessageForAuthId:(NSString * _Nullable)authId publisherData:(NSDictionary<NSString *, NSString *> * _Nullable)publisherData;
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
- (void)customConsentGDPRWithVendors:(NSArray<NSString *> * _Nonnull)vendors categories:(NSArray<NSString *> * _Nonnull)categories legIntCategories:(NSArray<NSString *> * _Nonnull)legIntCategories handler:(void (^ _Nonnull)(SPGDPRConsent * _Nonnull))handler;
@end

Expand Down Expand Up @@ -1328,6 +1335,13 @@ SWIFT_PROTOCOL("_TtP21ConsentViewController17MessageController_")
@end


SWIFT_CLASS("_TtC21ConsentViewController21MissingChildPmIdError")
@interface MissingChildPmIdError : SPError
@property (nonatomic, readonly, copy) NSString * _Nonnull spCode;
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
@end


@interface NSObject (SWIFT_EXTENSION(ConsentViewController))
- (NSString * _Nullable)toJSON SWIFT_WARN_UNUSED_RESULT;
@end
Expand Down Expand Up @@ -1397,7 +1411,7 @@ enum SPPrivacyManagerTab : NSInteger;

SWIFT_PROTOCOL("_TtP21ConsentViewController6SPCCPA_")
@protocol SPCCPA
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
@property (nonatomic, readonly) BOOL ccpaApplies;
@end

Expand Down Expand Up @@ -1425,7 +1439,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
/// that’s the internal Sourcepoint id we give to this consent profile
@property (nonatomic, copy) NSString * _Nullable uuid;
+ (SPCCPAConsent * _Nonnull)rejectedNone SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)initWithUuid:(NSString * _Nullable)uuid status:(enum CCPAConsentStatus)status rejectedVendors:(NSArray<NSString *> * _Nonnull)rejectedVendors rejectedCategories:(NSArray<NSString *> * _Nonnull)rejectedCategories uspstring:(NSString * _Nonnull)uspstring OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithUuid:(NSString * _Nullable)uuid status:(enum CCPAConsentStatus)status rejectedVendors:(NSArray<NSString *> * _Nonnull)rejectedVendors rejectedCategories:(NSArray<NSString *> * _Nonnull)rejectedCategories uspstring:(NSString * _Nonnull)uspstring childPmId:(NSString * _Nullable)childPmId OBJC_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly, copy) NSString * _Nonnull description;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
Expand All @@ -1436,7 +1450,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
/// Contains information about the property/campaign.
SWIFT_CLASS("_TtC21ConsentViewController10SPCampaign")
@interface SPCampaign : NSObject
- (nonnull instancetype)initWithTargetingParams:(NSDictionary<NSString *, NSString *> * _Nonnull)targetingParams OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)initWithTargetingParams:(NSDictionary<NSString *, NSString *> * _Nonnull)targetingParams groupPmId:(NSString * _Nullable)groupPmId OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
Expand Down Expand Up @@ -1563,7 +1577,7 @@ SWIFT_PROTOCOL("_TtP21ConsentViewController19SPMessageUIDelegate_")

SWIFT_PROTOCOL("_TtP21ConsentViewController6SPGDPR_")
@protocol SPGDPR
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
@property (nonatomic, readonly) BOOL gdprApplies;
@end

Expand Down Expand Up @@ -1594,8 +1608,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, copy) NSString * _No
/// Returns the user data <em>stored in the <code>UserDefaults</code></em>.
@property (nonatomic, readonly, strong) SPUserData * _Nonnull userData;
- (void)loadMessageForAuthId:(NSString * _Nullable)authId publisherData:(NSDictionary<NSString *, NSString *> * _Nullable)publisherData;
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab;
- (void)loadGDPRPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
- (void)loadCCPAPrivacyManagerWithId:(NSString * _Nonnull)id tab:(enum SPPrivacyManagerTab)tab useGroupPmIfAvailable:(BOOL)useGroupPmIfAvailable;
- (void)customConsentGDPRWithVendors:(NSArray<NSString *> * _Nonnull)vendors categories:(NSArray<NSString *> * _Nonnull)categories legIntCategories:(NSArray<NSString *> * _Nonnull)legIntCategories handler:(void (^ _Nonnull)(SPGDPRConsent * _Nonnull))handler;
@end

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ extension ConsentViewController.SPCampaignEnv : Swift.Codable {
}
public typealias SPTargetingParams = [Swift.String : Swift.String]
@objc @objcMembers public class SPCampaign : ObjectiveC.NSObject {
@objc public init(targetingParams: ConsentViewController.SPTargetingParams = [:])
@objc public init(targetingParams: ConsentViewController.SPTargetingParams = [:], groupPmId: Swift.String? = nil)
@objc deinit
}
@objc @objcMembers public class SPCampaigns : ObjectiveC.NSObject {
Expand Down Expand Up @@ -113,7 +113,7 @@ public typealias SPUsPrivacyString = Swift.String
@objc final public let uspstring: ConsentViewController.SPUsPrivacyString
@objc public var uuid: Swift.String?
@objc public static func rejectedNone() -> ConsentViewController.SPCCPAConsent
@objc public init(uuid: Swift.String? = nil, status: ConsentViewController.CCPAConsentStatus, rejectedVendors: [Swift.String], rejectedCategories: [Swift.String], uspstring: ConsentViewController.SPUsPrivacyString)
@objc public init(uuid: Swift.String? = nil, status: ConsentViewController.CCPAConsentStatus, rejectedVendors: [Swift.String], rejectedCategories: [Swift.String], uspstring: ConsentViewController.SPUsPrivacyString, childPmId: Swift.String? = nil)
@objc override dynamic open var description: Swift.String {
@objc get
}
Expand Down Expand Up @@ -148,8 +148,8 @@ public typealias SPUsPrivacyString = Swift.String
@objc get
}
@objc dynamic public func loadMessage(forAuthId authId: Swift.String? = nil, publisherData: ConsentViewController.SPPublisherData? = [:])
@objc dynamic public func loadGDPRPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default)
@objc dynamic public func loadCCPAPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default)
@objc dynamic public func loadGDPRPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default, useGroupPmIfAvailable: Swift.Bool = false)
@objc dynamic public func loadCCPAPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default, useGroupPmIfAvailable: Swift.Bool = false)
@objc dynamic public func customConsentGDPR(vendors: [Swift.String], categories: [Swift.String], legIntCategories: [Swift.String], handler: @escaping (ConsentViewController.SPGDPRConsent) -> Swift.Void)
}
extension ConsentViewController.SPConsentManager : ConsentViewController.SPMessageUIDelegate {
Expand Down Expand Up @@ -221,6 +221,15 @@ extension ConsentViewController.SPConsentManager : ConsentViewController.SPMessa
}
@objc deinit
}
@objc @_hasMissingDesignatedInitializers @objcMembers public class MissingChildPmIdError : ConsentViewController.SPError {
@objc override public var spCode: Swift.String {
@objc get
}
@objc override dynamic public var description: Swift.String {
@objc get
}
@objc deinit
}
@objc @_hasMissingDesignatedInitializers @objcMembers public class InvalidEventPayloadError : ConsentViewController.SPError {
@objc override public var failureReason: Swift.String {
@objc get
Expand Down Expand Up @@ -425,7 +434,7 @@ public typealias SPGDPRPurposeId = Swift.String
@objc public var acceptedCategories: [Swift.String] {
@objc get
}
public init(uuid: Swift.String? = nil, vendorGrants: ConsentViewController.SPGDPRVendorGrants, euconsent: Swift.String, tcfData: ConsentViewController.SPJson)
public init(uuid: Swift.String? = nil, vendorGrants: ConsentViewController.SPGDPRVendorGrants, euconsent: Swift.String, tcfData: ConsentViewController.SPJson, childPmId: Swift.String? = nil)
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool
@objc override dynamic open var description: Swift.String {
@objc get
Expand Down Expand Up @@ -674,11 +683,11 @@ extension ConsentViewController.SPJson {
}
public typealias SPPublisherData = [Swift.String : Swift.String]
@objc public protocol SPCCPA {
@objc func loadCCPAPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab)
@objc func loadCCPAPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab, useGroupPmIfAvailable: Swift.Bool)
@objc var ccpaApplies: Swift.Bool { get }
}
@objc public protocol SPGDPR {
@objc func loadGDPRPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab)
@objc func loadGDPRPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab, useGroupPmIfAvailable: Swift.Bool)
@objc var gdprApplies: Swift.Bool { get }
}
@objc public protocol SPSDK : ConsentViewController.SPCCPA, ConsentViewController.SPGDPR, ConsentViewController.SPMessageUIDelegate {
Expand All @@ -696,8 +705,8 @@ public typealias SPPublisherData = [Swift.String : Swift.String]
extension ConsentViewController.SPSDK {
public init(accountId: Swift.Int, propertyName: ConsentViewController.SPPropertyName, campaignsEnv: ConsentViewController.SPCampaignEnv = .Public, campaigns: ConsentViewController.SPCampaigns, delegate: ConsentViewController.SPDelegate?)
public func loadMessage(forAuthId authId: Swift.String? = "", pubData: ConsentViewController.SPPublisherData? = [:])
public func loadCCPAPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default)
public func loadGDPRPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default)
public func loadCCPAPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default, useGroupPmIfAvailable: Swift.Bool = false)
public func loadGDPRPrivacyManager(withId id: Swift.String, tab: ConsentViewController.SPPrivacyManagerTab = .Default, useGroupPmIfAvailable: Swift.Bool = false)
}
extension UIKit.UIColor {
convenience public init?(hexString: Swift.String?)
Expand Down
Loading

0 comments on commit 3033683

Please sign in to comment.