UMP SDK US State Regulations Form Error on Dismiss

241 views
Skip to first unread message

Zippy

unread,
Feb 11, 2025, 7:59:17 PM2/11/25
to Google Mobile Ads SDK Developers
Hi

I've implemented the UMP SDK for GDPR (EEA/UK) and that side of it works perfectly (form shows on initial launch, shows again when revocation button is pressed, and test ads work if consent is granted).

I recently added a US State regulation form too. When pressing the button in my app's menu, the form shows as expected. However, on dismissal it returns the error:

    'We are getting something wrong with the webview'.

Any ideas? I've tried deleting the form within Admob and setting it up again but no joy. It does remember the choice, but I've no way of knowing if it's actually doing what it's supposed to be doing.

I've tried searching but only found one GitHub page with the same error and no answer/solution.

Any ideas? This is holding up publishing my app.

consentInformation.requestConsentInfoUpdate(
    this,
    params, // Previously defined with 
DebugGeography.DEBUG_GEOGRAPHY_REGULATED_US_STATE)
    () -> {
        UserMessagingPlatform.showPrivacyOptionsForm(
            this,
            formError -> {
                if (formError != null) {
                    Log.e("UMP"formError.getErrorCode() + ", " + formError.getMessage());
                } 
                // Form dismissed, handle here (initialise Ads SDK etc).
            }
        );
    },
    requestConsentError -> {
        // Handle error
        Log.e("UMP", requestConsentError.getErrorCode() + ", " + requestConsentError.getMessage());
    }
);

Any help would be appreciated.

Mobile Ads SDK Forum Advisor

unread,
Feb 12, 2025, 2:12:38 AM2/12/25
to google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.
I will raise this concern to the wider team, and will intimate once receive any update on this, meanwhile your patience is important.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vH1Q9:ref" (ADR-00287983)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 

 

Zippy

unread,
Feb 12, 2025, 9:38:45 AM2/12/25
to Google Mobile Ads SDK Developers
Hi,

Thanks, I hope to hear something soon. I've also just found this post in this very group from last month:


If you take a look at that, you'll see its the exact same problem and has already been confirmed by you (or a colleague)  as being an issue:

'I ran an AdMob banner sample application and I can see the error message in the logcat “We are getting something wrong with the webview.”

I will check with our team about this issue and one of my team members will reach out to you once we have an update. Meanwhile, I would appreciate your patience. '

However, the last update to that thread was January 16th.

Thanks again.

Vinicius Santos

unread,
Feb 12, 2025, 4:56:53 PM2/12/25
to Google Mobile Ads SDK Developers
I'm facing the same issue when setting the debug geography to DEBUG_GEOGRAPHY_REGULATED_US_STATE. It shows "We are getting something wrong with the webview", but it does not appear that any error is ocurring. I don't know if the app is correctly saving the consent changes made by users. I'm calling the method in a PreferenceFragment:

```
        // Allows the users to change their data usage consent
        if(googleMobileAdsConsentManager.isPrivacyOptionsRequired) {
            findPreference<Preference>("consent_options")
                ?.setOnPreferenceClickListener {
                    googleMobileAdsConsentManager.showPrivacyOptionsForm(requireActivity()) { formError ->
                        if(formError != null) {
                            Log.d("MySettingsFragment", formError.message.toString())
                        }
                    }
                    true
                }
        }
    }
```

Mobile Ads SDK Forum Advisor

unread,
Feb 12, 2025, 5:43:46 PM2/12/25
to vs.ma...@gmail.com, google-adm...@googlegroups.com

Hi Vinicius,

Thank you for contacting the Mobile Ads SDK Support team. 

This issue is under investigation. Once we receive any updates, we will intimate you. Meanwhile, your patience is important. Please keep an eye on release notes. 

Mobile Ads SDK Forum Advisor

unread,
Feb 24, 2025, 1:16:57 PM2/24/25
to vs.ma...@gmail.com, google-adm...@googlegroups.com

Hello,

A change is going out tomorrow that will fix this issue. However, the fix requires changing what the consent status returns after the form is filled out. For more information, see https://groups.google.com/g/google-admob-ads-sdk/c/JVVp2_LRtK0.

Thanks,
 
Google Logo
Eric Leichtenschlag
Mobile Ads SDK Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-02-24 18:15:53Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH1Q9:ref" (ADR-00287983)



Zippy

unread,
Mar 2, 2025, 1:51:40 PM3/2/25
to Google Mobile Ads SDK Developers
Thanks for the fix, it seems to be OK now.
Reply all
Reply to author
Forward
0 new messages