AppLovin / AppLovin-MAX-SDK-Android

Other
233 stars 104 forks source link

Google UMP popup gets shown on every start #603

Closed Zone8023 closed 3 weeks ago

Zone8023 commented 11 months ago

MAX SDK Version

12.1.0

Device/Platform Info

s10

Current Behavior

Google UMP popup gets shown on every start.Is it because of setDebugUserGeography (GDPR)?I manually connected to Google UMP but did not have this problem.Is it because the sdk automatically calls consensusInformation.reset()?

Expected Behavior

No response

How to Reproduce

AppLovinSdkSettings settings = new AppLovinSdkSettings(mActivity); settings.getTermsAndPrivacyPolicyFlowSettings().setEnabled( true ); settings.getTermsAndPrivacyPolicyFlowSettings().setPrivacyPolicyUri(Uri.parse( "https://your_company_name.com/privacy_policy" ) );

    // Terms of Service URL is optional
    settings.getTermsAndPrivacyPolicyFlowSettings().setTermsOfServiceUri(Uri.parse( "https://your_company_name.com/terms_of_service" ) );
    //settings.getTermsAndPrivacyPolicyFlowSettings().setDebugUserGeography(AppLovinSdkConfiguration.ConsentFlowUserGeography.GDPR );
    onLog(TAG,"initAdsConfig");
    AppLovinSdk sdk = AppLovinSdk.getInstance(settings,mActivity);
    sdk.setMediationProvider(AppLovinMediationProvider.MAX);
    sdk.initializeSdk( (AppLovinSdkConfiguration config) -> {

        // Initialize other 3rd-party SDKs - do not initialize mediated advertising SDKs, MAX will automatically do that for you. Not following this step will result in noticeable integration issues

        // Initialize the Adjust SDK inside the AppLovin SDK's initialization callback

        // Start loading ads
        initInterAd();
        initVideoAd();
    } );

Additional Info

No response

santoshbagadi commented 11 months ago

@Zone8023 yes, right now this is the expected behavior when Debug Geography is set. We'll update it to only show to new users (match the normal behavior) in the next SDK release.

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 30 days with no activity.

santoshbagadi commented 3 weeks ago

This has been fixed as of version 12.2.0 of our SDK.