Skip to content

Commit

Permalink
Add consentManager plugin
Browse files Browse the repository at this point in the history
Without calling this plugin in BasicExample, the events were not stamped with the consent categories.
  • Loading branch information
vanand17 authored May 22, 2024
1 parent 167df5a commit 1cec443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example/BasicExample/BasicExample/BasicExampleApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ extension Analytics {
// we were notified (optionally) that consent changed.
print("Consent Changed")
}

analytics.add(plugin: consentManager)
// Optionally add the IDFAConsent plugin if ATT is to be used.
// It will capture ATT changes and notify the consent manager.
// You'll need to copy this code into YOUR codebase and modify it
Expand Down

0 comments on commit 1cec443

Please sign in to comment.