Last active
November 8, 2019 22:20
-
-
Save flurrydev/3b3f60665a740557c5dca90b538cd8a6 to your computer and use it in GitHub Desktop.
GDPR_iOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSDictionary *consentDict = [[NSDictionary alloc] initWithObjectsAndKeys:@"IAB_Consent_String", @"iab", nil]; | |
FlurryConsent *consent = [[FlurryConsent alloc] initWithGDPRScope:YES | |
andConsentStrings:consentDict]; | |
FlurrySessionBuilder* builder = [[[[[[FlurrySessionBuilder new] | |
withLogLevel:FlurryLogLevelAll] | |
withCrashReporting:YES] | |
withSessionContinueSeconds:10] | |
withAppVersion:@”0.1.2”] | |
withConsent:consent]; | |
[Flurry startSession:flurryAPIKey withSessionBuilder:builder]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment