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

how to force show consent form ? #5

Open
schnaps1981 opened this issue Sep 18, 2019 · 2 comments
Open

how to force show consent form ? #5

schnaps1981 opened this issue Sep 18, 2019 · 2 comments

Comments

@schnaps1981
Copy link

how to force show consent form ?

@youbamj
Copy link
Owner

youbamj commented Sep 18, 2019

You mean you wanna force showing the consent form for the users outside the EEA?
If you want to debug it forgot to add the option of enabling the debug mode on the Builder class

So just use initialize the class without the Builder class, If you set the last parameter to true it will force the consent dialog to show you can check the code to know how it works.

Screenshot_2

@schnaps1981
Copy link
Author

schnaps1981 commented Sep 18, 2019

it is not working....

i make a new project and insert into this code

        ConsentSDK consentSDK = new ConsentSDK(this, publisherId, privacyUrl, true);
        consentSDK.checkConsent(new ConsentSDK.ConsentCallback() {
            @Override
            public void onResult(boolean b) {
                Log.d("TAG", b + "  :  " );
            }
        });

b = false

Consent form not showing :(
in logcat i see

 D/ID_LOG: Unknown Consent
 D/ID_LOG: User location within EEA: false

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

2 participants