Proguard
Ensure your Tapjoy integration remains stable when using code minification in Flutter by applying the ProGuard rules provided in the Tapjoy documentation.
Read time 1 minuteLast updated 3 hours ago
If you’re using Proguard, add these lines to your configuration file:
-keep class com.facebook.jni.** { *; } -keep class com.facebook.flipper.** { *; } -keep class com.facebook.hermes.unicode.** { *; } -keep class com.facebook.jni.** { *; } # Tapjoy -keep public class com.tapjoy.* { public *; } -keepclassmembers public enum com.tapjoy.* { public static final <fields>; }