Closed Thaina closed 5 years ago
@Thaina try to use proguard file :
-keepclassmembers class * { @android.webkit.JavascriptInterface
-keepclassmembers class com.adcolony.sdk.ADCNative* { ;}
-keep class com.facebook.unity.FB { *; } -keep class com.facebook.unity.FB.* { ; }
-keep class com.google.android.gms.ads.MobileAds { *; }
-keep class com.google.android.gms.* { ; } -keep class com.google.games.bridge.* { ; }
-dontobfuscate
-keep class com.google.unity.* { ; }
-keepclassmembers class com.ironsource.sdk.controller.IronSourceWebView$JSInterface { public ; } -keepclassmembers class implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } -keep public class com.google.android.gms.ads. { public *; } -keep class com.ironsource.adapters.* { ; } -keep class com.ironsource.unity.androidbridge. { *; }
-dontwarn com.ironsource.mediationsdk. -dontwarn com.ironsource.adapters. -dontwarn com.moat. -keep class com.moat. { public protected private *; }
-keepattributes SourceFile,LineNumberTable
-keepattributes JavascriptInterface
-keep class android.webkit.JavascriptInterface { *; }
-keep class com.unity3d.ads.* { ; }
-keep class com.unity3d.services.* { ; }
-dontwarn com.google.ar.core. -dontwarn com.unity3d.services. -dontwarn com.ironsource.adapters.unityads.**
In the latest version of UnitySDK we only includes wrapper aar and the issue should be fixed.
7.15.1 also include aar file. Which cause duplicate jar entry when force resolve with play service resolver before build