I'm trying to obtain the consent from the users using User Messaging Platform. Followed this guide:
https://developers.google.com/admob/ump/android/quick-start
When I run the code in the guide it shows the consent correctly. If I press "Consent" the consent status changes to ConsentInformation.ConsentStatus.OBTAINED
which is ok.
But when I kill and re-open the app again, after calling requestConsentInfoUpdate, it seems to reset the consent status to ConsentInformation.ConsentStatus.REQUIRED
and prompts again for consent.
How can I avoid that and only prompt once for consent?