Skip to content
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

Status "OBTAINED" not saved on Mac app after directly pressing "Approve" #311

Open
mcoevert opened this issue Feb 2, 2024 · 0 comments
Open

Comments

@mcoevert
Copy link

mcoevert commented Feb 2, 2024

Describe the bug
When showing the consent form, directly pressing "Approve", the const { status } = await AdMob.showConsentForm(); returns OBTAINED. However, when calling await AdMob.requestConsentInfo() the status is REQUIRED. So it seems the status is not being saved.

However, if you first click the "Options" button, and then press "Approve", the status is being saved and there is no further issue.

All works fine on iOS and Android.

To Reproduce

  1. Create capacitor app + add the consent:
const { status } = await AdMob.showConsentForm();
const info = await AdMob.requestConsentInfo();
console.log('Logging consent form status:', status, info.status);
  1. Run the app locally on your MacBook
  2. Press "Approve"
  3. Check the logs

Expected behavior
I expect the status OBTAINED to be saved. And that, when requesting AdMob.requestConsentInfo(), I get OBTAINED as a status.

Screenshots
Code:
image

Consent form:
image

After pressing "Toestemming" (Approve):
image

Desktop (please complete the following information):

  • OS: macOS 14.3 (23D56)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant