Joe
Joe

Reputation: 3921

How do you determine if UMP privacyOptionsRequirementStatus is required with GDPR or US State Regulations

I am in the process of setting up the Google UMP form to handle US State Regulations through Admob. The UMP form is currently set up for GDPR - and because of this, I have a GDPR button in the Settings page for users to modify their settings. This button visibility is controlled with the following:

static func shouldShowGDPR() -> Bool {
    let shouldShow = UMPConsentInformation.sharedInstance.privacyOptionsRequirementStatus == .required        
    return shouldShow
}

My question is - how can I determine if privacyOptionsRequirementStatus is required with GDPR or US State Regulations?

The end goal is to simply change the button text from GDPR to the US State Regulations text (Do Not Sell or Share My Personal Information). Ultimately, the button action will perform the same:

UMPConsentForm.presentPrivacyOptionsForm

Upvotes: 0

Views: 35

Answers (0)

Related Questions