jasonc-pub-integration / aerserv-ocgen

OC Generator using AerServ's IOS SDK
0 stars 0 forks source link

Implement GDPR Compliance Flag and provide view that asks for user consent on startup #4

Closed foreza closed 6 years ago

foreza commented 6 years ago

Implement the below:

// Replace true with the actual consent value of user consent
AerServSDK.setGDPRWithUserConsent(true)

BOOL userConsentFlag = AerServSDK.getGDPRConsentValue()

Expected behavior:

If user opts into GDPR, they will see the SDK version as well as a green flag for opting in on future visits If user does NOT, they will see the red flag for not opting in as well as be prompted to enter it each time

foreza commented 6 years ago

Addressed in 585244b83ac4bf675260f005ea2230f34ad91e68

Initial implementation is just crude placeholders.