UMP requestConsentInfoUpdate() crash app with foreground service

37 views
Skip to first unread message

Duy Hung

unread,
Aug 18, 2024, 9:42:27 PMAug 18
to Google Mobile Ads SDK Developers
As stated, after integrated GoogleMobileAdsConsentManager, I noticed that my app crashed when it's removed from recent app while foreground service is running, without any log. Remove the requestConsentInfoUpdate() call and it works normally

Mobile Ads SDK Forum Advisor

unread,
Aug 19, 2024, 5:05:53 AMAug 19
to gm22...@gmail.com, google-adm...@googlegroups.com

Hi Hung,

Thank you for contacting the Mobile Ads SDK support team. 

You should request an update of the user's consent information at every app launch, using requestConsentInfoUpdate(). This request checks the following:

  • Whether consent is required. For example, consent is required for the first time, or the previous consent decision expired.
  • Whether a privacy options entry point is required. Some privacy messages require apps to allow users to modify their privacy options at any time.

Use our Google sample apps on GitHub for your reference during implementation. Can you confirm whether the crash issue is reproducible using the provided sample app? If yes, kindly provide the below details privately for further investigation:

  • SDK version being used
  • The full stack trace
  • Steps to reproduce 
  • sample app reproducing the issue

You can provide the following details via reply privately to the author option or directly provide it to the link below.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002vF6VtQAK&entry.80707362=00263817

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link. 

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

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages