AppLovin / AppLovin-MAX-Unity-Plugin

129 stars 35 forks source link

Debug User Geography is Invalid #388

Closed binbinku closed 5 months ago

binbinku commented 5 months ago

MAX Plugin Version

6.5.2

Unity Version

2022.3.30f1

Device/Platform Info

Android

Current Behavior

cant pop ump window,Debug User Geography is Invalid

Expected Behavior

cant pop ump window,Debug User Geography is Invalid

How to Reproduce

Debug User Geography is GDPR and no ump window pop

Additional Info

No response

binbinku commented 5 months ago

var cmpService = MaxSdk.CmpService;

cmpService.ShowCmpForExistingUser(error =>
{
  if (null == error)
  {
    // The CMP alert was shown successfully.
  }
});

excute this code then log : Use new ConsentDebugSettings.Builder().addTestDeviceHashedId
binbinku commented 5 months ago

export android project then in unityactivity oncreate add new ConsentDebugSettings.Builder().addTestDeviceHashedId("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") is success pop the ump window

this is a bug?

santoshbagadi commented 5 months ago

Hi @binbinku , you can provide the Test Device Hash ID before initializing the MAX SDK by calling

MaxSdk.SetExtraParamter("google_test_device_hashed_id", "YOUR_DEVICE_HASHED_ID")

We'll include a note about this in the docs and the Integration Manager.

binbinku commented 5 months ago

thanks reply bro