Hello.
Here you mention that before I do MobileAds.initialize(), I should handle everything related to consent/UMP first. On the
UMP docs you mention that I can call
canRequestAds() either after loadAndShowConsentFormIfRequired() or right after requestConsentInfoUpdate(). On the latter, the response can be cached from the previous app session since we haven't even checked if we even need to show a consent form. But in order make use of
canRequestAds() I need to do MobileAds.initialize(). So would it be correct to do MobileAds.initialize() and start serving ads right after requestConsentInfoUpdate() in case the cached canRequestAds() is true and then do
loadAndShowConsentFormIfRequired() (which might show a consent form again)? And then after
loadAndShowConsentFormIfRequired() I wouldn't need to initialize again, right? I assume the ads will refresh automatically in case there is a new consent form?
The reason I try to do all this is to make the ads loading faster since we have a cached value for canShowAds. And in the rare case there is an new consent form we show that and refresh the ads.