Skip to content

ConsentPopup fails to pop up #124

@robertjamison

Description

@robertjamison

Hi, thanks again for this great library!

I did try your method after the latest changes from v1.1.0-beta01 and no luck. The ConsentPopup still fails to show. I live in the EEA region, and the setForceTesting is not needed for me (but I did test with it just in case).

The only way I could make the consent to show is by calling consent.loadAndShowConsentForm() and I think this is missing from the library's ConsentPopup Composable.

val consent by rememberConsent()
    LaunchedEffect(Unit) {
        consent.requestConsentInfoUpdate(
            onCompletion = {
                consent.loadAndShowConsentForm() // The consent show ONLY if I call this
            }
        )
    }

    if (consent.canRequestAds) {
        BasicAds.Initialize()
    }

I do have the UMP dependencies for Android (4.0.0) and iOS (3.1.0).

Originally posted by @moisoni97 in #114

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions