Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

UMP - message for US users - error when closing window

96 views
Skip to first unread message

Christopher

unread,
Jan 11, 2025, 8:03:37 AMJan 11
to Google Mobile Ads SDK Developers
I use the 'com.google.android.ump:user-messaging-platform' library in my Android apps. I added and published a message for US users for one of my apps (using AdMob tools). 

Everything works fine except when I close the window with the "Save and close" button. Every time in "logcat" and in the "onConsentFormDismissed" event there appears this error: "We are getting some wrong with the webview".

Here is my code:
UserMessagingPlatform.showPrivacyOptionsForm(this, new ConsentForm.OnConsentFormDismissedListener() {
    @Override
    public void onConsentFormDismissed(@Nullable FormError formError) {
       // formError.getErrorCode() = 1
       // formError.getMessage() = 'We are getting some wrong with the webview'
    }
});

There is no exception and everything seems to be working fine, but this error shows up.
The error appears for all UMP versions (I tested from version 2.1 to version 3.1). The error appears on all devices regardless of Android version.

Thank you.

Mobile Ads SDK Forum Advisor

unread,
Jan 12, 2025, 5:29:39 PMJan 12
to kreosof...@gmail.com, google-adm...@googlegroups.com
Hi Christopher,

Thank you for contacting Mobile Ads Support Team.

Kindly provide your app Id and adUnit Id by utilizing reply to author option where US message config setup for further investigation.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGvK0:ref" (ADR-00284044)

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5



Christopher

unread,
Jan 13, 2025, 8:59:31 AMJan 13
to Google Mobile Ads SDK Developers
You can reproduce the issue by running your sample app, for example from here:
https://github.com/googleads/googleads-mobile-android-examples/tree/main/java/admob/BannerExample

So the problem is not limited to my apps.

Thank you.

Mobile Ads SDK Forum Advisor

unread,
Jan 13, 2025, 3:15:59 PMJan 13
to kreosof...@gmail.com, google-adm...@googlegroups.com
Hi,

We are unable to reproduce the mentioned issue in our environment, Kindly help us with screen recording for further assistance.
Message has been deleted

Christopher

unread,
Jan 15, 2025, 5:07:08 PMJan 15
to Google Mobile Ads SDK Developers
It's weird that you can't reproduce the issue in your environment. All my test devices have this issue (e.g. Google Pixel 6a,  Samsung Galaxy devices). I would like to add that all my system apps are up to date (Google Play Services, Android System WebView).

I'm sending you some screenshots from your sample app from here:
https://github.com/googleads/googleads-mobile-android-examples/tree/main/java/admob/BannerExample

The fourth screenshot shows the "Toast" that appears in this part of the app code:

googleMobileAdsConsentManager.showPrivacyOptionsForm(
  this,
  formError -> {
    if (formError != null) {
    Toast.makeText(this, formError.getMessage(), Toast.LENGTH_SHORT).show();
  }
});

Since I'm in the EU, I'm setting this flag to test messages for US users:
ConsentDebugSettings.DebugGeography.DEBUG_GEOGRAPHY_REGULATED_US_STATE

As you can see in the "onConsentFormDismissed" event (right after closing the window) an error message is displayed: "We are getting some wrong with the webview  ".

Thank you.
4.jpg
1.jpg
2.jpg
3.jpg

Mobile Ads SDK Forum Advisor

unread,
Jan 16, 2025, 8:49:53 AMJan 16
to kreosof...@gmail.com, google-adm...@googlegroups.com

Hi Christopher,

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. 

Reply all
Reply to author
Forward
0 new messages