You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correction, I was able to replicate this. This is a problem with the latest version so as a work around you can roll back to an earlier version of the plugin. I have spoken with the engineers and they are looking into this issue.
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
1.Integration Unity plugin version 9.0.0
2.Set RequestConfiguration .PublisherFirstPartyIdEnabled before MobileAds.SetRequestConfiguration
3.Build android apk
4.Start app
5.Error:
java.lang.NoSuchMethodError: no static method with name='putPublisherFirstPartyIdEnabled' signature='(Z)V' in class Ljava.lang.Object;
stack traceback:
UnityEngine._AndroidJNIHelper:GetMethodID(IntPtr, String, String, Boolean) UnityEngine.AndroidJavaObject:_CallStatic(String, Object[])
GoogleMobileAds.Android.MobileAdsClient:SetRequestConfiguration(RequestConfiguration)
Relevant Code:
Maybe the reason
In plugin c# source code
source/plugin/Assets/GoogleMobileAds/Platforms/Android/MobileAdsClient.cs: line 80
call fun putPublisherFirstPartyIdEnabled without return value
in android package
com.google.android.gms.ads.MobileAds.class
fun putPublisherFirstPartyIdEnabled has return value
modify MobileAdsClient.cs: line 80 should correct this error:
The text was updated successfully, but these errors were encountered: