Skip to content

Commit

Permalink
Merge pull request #110 from SourcePointUSA/prepare_v503
Browse files Browse the repository at this point in the history
Prepare v503
  • Loading branch information
andresilveirah committed Apr 3, 2020
2 parents e0006ed + b167bd5 commit c1ace42
Show file tree
Hide file tree
Showing 9 changed files with 332 additions and 322 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 5.0.3 (April, 03, 2020)
* Storing IAB consent data ealier by persisting it at the very first http call #109
* Added Swiftlint pod and to GitHub workflow #107
* Fixed a ton of lint issues including one forced unwrap #107
* Fixed an issue that was causing the Example app to crash on iPad 75e5472

## 5.0.2 (March, 26, 2020)
* support type changes in nativeMessageJSON

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 = '5.0.2'
s.version = '5.0.3'
s.summary = 'SourcePoint\'s ConsentViewController to handle privacy consents.'
s.homepage = 'https://www.sourcepoint.com'
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- ConsentViewController (5.0.2)
- ConsentViewController (5.0.3)
- IQKeyboardManagerSwift (6.5.5)
- Nimble (8.0.7)
- Quick (2.2.0)
Expand All @@ -24,7 +24,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
ConsentViewController: ea8079da5bf6d808a2f9aa17e393883d63ae5720
ConsentViewController: c53ce6f69ccb68dd2ea9b80a2bf1a5acb948546f
IQKeyboardManagerSwift: 0fb93310284665245591f50f7a5e38de615960b7
Nimble: a73af6ecd4c9106f434f3d55fc54570be3739e0b
Quick: 7fb19e13be07b5dfb3b90d4f9824c855a11af40e
Expand Down

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

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

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

616 changes: 310 additions & 306 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

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

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

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We strongly recommend the use of [CocoaPods](https://cocoapods.org) in order to
In your `Podfile` add the following line to your app target:

```
pod 'ConsentViewController', '5.0.2'
pod 'ConsentViewController', '5.0.3'
```

### Carthage
Expand All @@ -39,9 +39,9 @@ import ConsentViewController
class ViewController: UIViewController {
lazy var consentViewController: GDPRConsentViewController = { return GDPRConsentViewController(
accountId: 22,
propertyId: 7094,
propertyName: try! GDPRPropertyName("tcfv2.mobile.demo"),
PMId: "100699",
propertyId: 7639,
propertyName: try! GDPRPropertyName("tcfv2.mobile.webview"),
PMId: "122058",
campaignEnv: .Public,
consentDelegate: self
)}()
Expand Down Expand Up @@ -96,13 +96,13 @@ extension ViewController: GDPRConsentDelegate {
- (void)viewDidLoad {
[super viewDidLoad];

GDPRPropertyName *propertyName = [[GDPRPropertyName alloc] init:@"tcfv2.mobile.demo" error:NULL];
GDPRPropertyName *propertyName = [[GDPRPropertyName alloc] init:@"tcfv2.mobile.webview" error:NULL];

cvc = [[GDPRConsentViewController alloc]
initWithAccountId: 22
propertyId: 7094
propertyId: 7639
propertyName: propertyName
PMId: @"100699"
PMId: @"122058"
campaignEnv: GDPRCampaignEnvPublic
consentDelegate: self];

Expand Down

0 comments on commit c1ace42

Please sign in to comment.