You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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);
Run the app locally on your MacBook
Press "Approve"
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:
Consent form:
After pressing "Toestemming" (Approve):
Desktop (please complete the following information):
OS: macOS 14.3 (23D56)
The text was updated successfully, but these errors were encountered:
Describe the bug
When showing the consent form, directly pressing "Approve", the
const { status } = await AdMob.showConsentForm();
returnsOBTAINED
. However, when callingawait AdMob.requestConsentInfo()
the status isREQUIRED
. 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
Expected behavior
I expect the status
OBTAINED
to be saved. And that, when requestingAdMob.requestConsentInfo()
, I getOBTAINED
as a status.Screenshots
Code:
Consent form:
After pressing "Toestemming" (Approve):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: