AppLovin / AppLovin-MAX-SDK-Android

Other
210 stars 95 forks source link

Setting debugUserGeography to OTHER not working #586

Open Maradox opened 7 months ago

Maradox commented 7 months ago

MAX SDK Version

12.0.0

Device/Platform Info

Android 14

Current Behavior

I am located in the EU and trying to check the consent-flow for users outside the GDPR region.

Setting debugUserGeography to AppLovinSdkConfiguration.ConsentFlowUserGeography.OTHER still shows the Google consent dialog.

Expected Behavior

Setting debugUserGeography to AppLovinSdkConfiguration.ConsentFlowUserGeography.OTHER should not show the Google consent dialog.

How to Reproduce

val settings = AppLovinSdkSettings(context)
settings.termsAndPrivacyPolicyFlowSettings.isEnabled = true
settings.termsAndPrivacyPolicyFlowSettings.privacyPolicyUri = Uri.parse(context.getString(R.string.privacy_policy_url))
settings.termsAndPrivacyPolicyFlowSettings.debugUserGeography = AppLovinSdkConfiguration.ConsentFlowUserGeography.OTHER
settings.setVerboseLogging(BuildConfig.DEBUG)

val sdk = AppLovinSdk.getInstance(settings, context)
sdk.mediationProvider = AppLovinMediationProvider.MAX

sdk.initializeSdk {}

Additional Info

No response