Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to show consent form again? #193

Closed
Tobi-La opened this issue Oct 20, 2023 · 3 comments
Closed

How to show consent form again? #193

Tobi-La opened this issue Oct 20, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Tobi-La
Copy link

Tobi-La commented Oct 20, 2023

Godot version

3.5.3

Plugin version

v2.1.4

Phone information

Honor 9x

Issue description

Hey,
I have a button in my app where I want the user to be able to reconfigure the consent.
However, calling MobileAds.request_user_consent() doesn't do anything.

From #57 I would understand that I need to reset the consent beforehand, but calling

MobileAds.reset_consent_state()
MobileAds.request_user_consent()

doesn't do the trick either.

Sorry if I overlook something, but I don't understand how this works.

Thanks for your help!

Steps to reproduce

  1. Configure consent
  2. Try to reconfigure consent

Additional context

No response

@Tobi-La Tobi-La added the bug Something isn't working label Oct 20, 2023
@gumaciel
Copy link
Contributor

Hi @Tobi-La you don't need to reset the consent and ask again always, depends of your needs, you want to user be able to request again the consent without reloading the app, if yes, you could create a button which calls this code you mentioned

Are you still with this problem? Try to add a Timer with 1 or 2 seconds to see if appear again the consent form

@kondor-dev
Copy link

Hi, I've noticed that the documentation page (https://developers.google.com/admob/android/privacy?hl=en) has been updated.

The section "Privacy options" (https://developers.google.com/admob/android/privacy?hl=en#privacy_options) describes how to show consent form again. It says that method showPrivacyOptionsForm() should be called.

Besides, on the bottom of the page there is a big red warning about reset() method: "Caution: This method is intended to be used for testing purposes only. You shouldn't call reset() in production code."

In my opinion we cannot use current MobileAds.reset_consent_state() in the production. It should be updated according to the docs.

@gumaciel
Copy link
Contributor

In my opinion we cannot use current MobileAds.reset_consent_state() in the production. It should be updated according to the docs.

This warning is old, so to clarify this we created a conversation on Mobile Ads SDK group:

According to this link, I understand the AdMob team says it can be used in production: https://groups.google.com/g/google-admob-ads-sdk/c/F_QHhhE5Qro/m/JaCULPL4BAAJ

So I don't really know if it can be used in production

@poingstudios poingstudios locked and limited conversation to collaborators Dec 17, 2023
@gumaciel gumaciel converted this issue into discussion #212 Dec 17, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants