AppLovin / AppLovin-MAX-Unity-Plugin

110 stars 31 forks source link

ClassCastException in SharedPreferencesManager when retrieving value for key: IABTCF_gdprApplies #338

Closed cawabungag closed 1 week ago

cawabungag commented 3 months ago

MAX Plugin Version

Applovin adapter in IronSource version 4.3.44.2

Unity Version

2020.3.48

Device/Platform Info

Android

Current Behavior

An exception is thrown on application startup [SharedPreferencesManager] Error getting value for key: IABTCF_gdprApplies java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:302) at com.applovin.impl.sdk.c.e.a(SourceFile:255) at com.applovin.impl.sdk.p.t(SourceFile:799) at com.applovin.impl.sdk.p.h(SourceFile:722) at com.applovin.impl.sdk.p.a(SourceFile:200) at com.applovin.impl.sdk.EventServiceImpl.a(SourceFile:264) at com.applovin.impl.sdk.EventServiceImpl.a(SourceFile:31) at com.applovin.impl.sdk.EventServiceImpl$1.run(SourceFile:178) at com.applovin.impl.sdk.e.ac.run(SourceFile:30) at com.applovin.impl.sdk.e.r$d.run(SourceFile:483)

Expected Behavior

No response

How to Reproduce

Run android build on device.

Additional Info

No response