Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 86359df

Browse files
implement onAction on Example app
1 parent 373e465 commit 86359df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Example/CCPAConsentViewController/ViewController.swift

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ extension ViewController: ConsentDelegate {
3838
dismiss(animated: true, completion: nil)
3939
}
4040

41+
func onAction(_ action: Action, consents: PMConsents?) {
42+
print("Action taken:", action)
43+
}
44+
4145
func onConsentReady(consentUUID: ConsentUUID, userConsent: UserConsent) {
4246
print("consentUUID:", consentUUID)
4347
print("userConsents:", userConsent)

0 commit comments

Comments
 (0)