Skip to content

Commit

Permalink
Merge pull request #478 from SourcePointUSA/prepare_7.3.0
Browse files Browse the repository at this point in the history
Prepare release 7.3.0
  • Loading branch information
andresilveirah authored Aug 16, 2023
2 parents 0dc403b + ad5b431 commit d827980
Show file tree
Hide file tree
Showing 74 changed files with 198 additions and 191 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 7.3.0 (Aug, 16, 2023)
* [DIA-2383](https://sourcepoint.atlassian.net/browse/DIA-2383) Added support to [Global Privacy Platform (GPP)](https://iabtechlab.com/gpp/). [#472](https://github.com/SourcePointUSA/ios-cmp-app/pull/472), [#474](https://github.com/SourcePointUSA/ios-cmp-app/pull/474), [#479](https://github.com/SourcePointUSA/ios-cmp-app/pull/479)
* (#477)[https://github.com/SourcePointUSA/ios-cmp-app/pull/477] Fixed an issue related to date formatting happening in some iPhones that could cause the consent message to appear multiple times.
* Improved our error metrics data

# 7.2.2 (Jul, 26, 2023)
* [DIA-2463](https://sourcepoint.atlassian.net/browse/DIA-2463),[DIA-2461](https://sourcepoint.atlassian.net/browse/DIA-2461),[DIA-2459](https://sourcepoint.atlassian.net/browse/DIA-2459),[DIA-2453](https://sourcepoint.atlassian.net/browse/DIA-2453) Several improvements to our network layer helping the SDK to better utilize Sourcepoint CDNs' cache.
* [DIA-2309](https://sourcepoint.atlassian.net/browse/DIA-2309),[DIA-2356](https://sourcepoint.atlassian.net/browse/DIA-2356 tvOS layout improvements
Expand Down
2 changes: 1 addition & 1 deletion ConsentViewController.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ConsentViewController'
s.version = '7.2.2'
s.version = '7.3.0'
s.summary = 'SourcePoint\'s ConsentViewController to handle privacy consents.'
s.homepage = 'https://www.sourcepoint.com'
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
17 changes: 16 additions & 1 deletion ConsentViewController/Classes/Consents/SPCCPAConsent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protocol CampaignConsent {
case status, rejectedVendors, rejectedCategories,
uuid, childPmId, consentStatus,
webConsentPayload, signedLspa, applies,
GPPData
GPPData, uspstring
}

/// Indicates if the user has rejected `.All`, `.Some` or `.None` of the vendors **and** categories.
Expand Down Expand Up @@ -240,4 +240,19 @@ protocol CampaignConsent {
return false
}
}

public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encode(self.status, forKey: .status)
try container.encode(self.rejectedVendors, forKey: .rejectedVendors)
try container.encode(self.rejectedCategories, forKey: .rejectedCategories)
try container.encodeIfPresent(self.uuid, forKey: .uuid)
try container.encodeIfPresent(self.childPmId, forKey: .childPmId)
try container.encode(self.consentStatus, forKey: .consentStatus)
try container.encodeIfPresent(self.webConsentPayload, forKey: .webConsentPayload)
try container.encode(self.signedLspa, forKey: .signedLspa)
try container.encode(self.applies, forKey: .applies)
try container.encode(self.GPPData, forKey: .GPPData)
try container.encode(self.uspstring, forKey: .uspstring)
}
}
2 changes: 1 addition & 1 deletion ConsentViewController/Classes/SPConsentManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ import UIKit
}

@objc extension SPConsentManager: SPSDK {
public static let VERSION = "7.2.2"
public static let VERSION = "7.3.0"

public var gdprApplies: Bool { spCoordinator.userData.gdpr?.applies ?? false }

Expand Down
6 changes: 3 additions & 3 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- ConsentViewController (7.2.2):
- ConsentViewController (7.3.0):
- Down (~> 0.9.0)
- Down (0.9.5)
- IQKeyboardManagerSwift (6.5.10)
Expand Down Expand Up @@ -33,7 +33,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
ConsentViewController: 86c2da23b896dbe2e3aae030f94a7a153fc5379c
ConsentViewController: 5f243c4b1f7285a06a96bc2867a0c6076273b94e
Down: 7321a72d0747ed0061dce948bcff518fcb6df2bd
IQKeyboardManagerSwift: 52962c76ab33532f15ad9f3ff4e5715eda5335bb
JSONView: ba9049102fae7ad70de40234d0b7c60986e61e4c
Expand All @@ -44,4 +44,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 35e1e9b8f56e528071d10331de4ee3526851010c

COCOAPODS: 1.12.1
COCOAPODS: 1.11.3

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d827980

Please sign in to comment.