Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Created December 3, 2019 21:36
Show Gist options
  • Save flurrydev/43c2e8e60401b75be8c8f4ac5bcb02d2 to your computer and use it in GitHub Desktop.
Save flurrydev/43c2e8e60401b75be8c8f4ac5bcb02d2 to your computer and use it in GitHub Desktop.
CCPA optOut iOS Swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
let builder = FlurrySessionBuilder.init()
.withLogLevel(FlurryLogLevelAll)
.withAppVersion("123")
.withCrashReporting(true)
.withDataSaleOptOut(true) //the default is false
Flurry.startSession("apiKey", with: builder)
return true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment