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
Mediation ad networks used, and their versions: All (but they are not needed for the issue)
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Multiple calls to LoadAndShowConsentFormIfRequired will result in multiple Consents Form shown, which should only show 1 and also results in an logged error for all but the first of:
The consent form dismiss callback is null.
In general only 1 form should be shown at the same time, this handling can also be kind of enforced by the end-user, but I think a general handling inside the SDK sounds more correct, as on our side we would need to hope, that the function will ALWAYS invoke the callback, which is not the case of an internal exception i.e., therefore it is not really bullet proof if done by us.
Also, in the Editor, showing multiple forms at the same time results in an unresolvable state, as you can't close all but 1.
Relevant Code:
// this is not the actual code from us, but it will prove the point :)
for (var i = 0; i < 3; i++)
ConsentForm.LoadAndShowConsentFormIfRequired(_ => { });
The text was updated successfully, but these errors were encountered:
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Multiple calls to LoadAndShowConsentFormIfRequired will result in multiple Consents Form shown, which should only show 1 and also results in an logged error for all but the first of:
The consent form dismiss callback is null.
In general only 1 form should be shown at the same time, this handling can also be kind of enforced by the end-user, but I think a general handling inside the SDK sounds more correct, as on our side we would need to hope, that the function will ALWAYS invoke the callback, which is not the case of an internal exception i.e., therefore it is not really bullet proof if done by us.
Also, in the Editor, showing multiple forms at the same time results in an unresolvable state, as you can't close all but 1.
Relevant Code:
The text was updated successfully, but these errors were encountered: