AppLovin / AppLovin-MAX-Cordova

MIT License
10 stars 12 forks source link

please make an example ConsentDialogState #22

Closed EMI-INDO closed 1 year ago

EMI-INDO commented 1 year ago

all ads are showing

I have made it like this but there is no response in console.log

https://dash.applovin.com/documentation/mediation/cordova/getting-started/privacy

AppLovinMAX.initialize(YOUR_SDK_KEY, (configuration) => { if (configuration.consentDialogState == AppLovinMAX.ConsentDialogState.APPLIES) { // Show user consent dialog console.log(configuration); } else if (configuration.consentDialogState == AppLovinMAX.ConsentDialogState.DOES_NOT_APPLY) { // No need to show consent dialog, proceed with initialization console.log(configuration); } else { // Consent dialog state is unknown. Proceed with initialization, but check if the consent // dialog should be shown on the next application initialization console.log(configuration); } });

thomasmso commented 1 year ago

Hi @EMI-INDO - Unfortunately we cannot assist with this, our product team has decided that this API will be deprecated and removed in an upcoming plugin release.