Skip to content

Consent string creation#9

Closed
alexanderedge wants to merge 3 commits into
InteractiveAdvertisingBureau:masterfrom
guardian:master
Closed

Consent string creation#9
alexanderedge wants to merge 3 commits into
InteractiveAdvertisingBureau:masterfrom
guardian:master

Conversation

@alexanderedge
Copy link
Copy Markdown

This PR adds the ability to generate a new consent string via ConsentStringBuilder.

Looking forward to hearing your thoughts.

* Add files to project

* Add range-based data functions

* Add consent string initialisation with data

* Add decoding test stub

* Add BinaryStringTestSupport

* Return Base64 data string

* Add range encoding

* Add `encode` functions

* Add consent string builder tests

* Tidy up

* Remove defaultConsent from builder

* Use setUp / tearDown to create builder

* Add VendorIdentifier typealias

* Add Purpose OptionSet

* Access control changes

* Set deployment target to iOS 10.0 minimum

* Update copyright

* Check language code is valid

* Update documentation

* Add tests for language code and ConsentString initialization

* Allow initialization of ConsentStringBuilder outside framework

* Split into String extensions

* Add all purposes

* Add web-safe base64 support

* Remove unnecessary division

* Style tweak

* Add tests for default consent

* Add comments to explain implementation
@alexanderedge
Copy link
Copy Markdown
Author

Opened #10 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant