SDK DocumentationRecipesAnnouncementsSupport Forum
AndroidiOSPluginsAnnouncementsSupport Forum
Support Forum
These docs are for v2. Click to read the latest docs for v4.

Support Forum

Ask a Question
Back to All

Proguard warning com.taboola.android.homepage.HOME_PAGE_STATUS

After enabling shrinking resources and code obfuscation I get this warning:
Missing class com.taboola.android.homepage.HOME_PAGE_STATUS (referenced from: int com.taboola.android.homepage.TBLHomePage.mHomePageStatus

Is it possible to add it to proguard from your side?

Are any additional proguard rules needed?

Also taboola messes up with firebase initialization when the shrinking and obfuscation are enabled

Exception java.lang.ExceptionInInitializerError:
at com.google.firebase.perf.config.RemoteConfigManager.getInstance (RemoteConfigManager.java)
at com.google.firebase.perf.config.ConfigResolver. (ConfigResolver.java:78)
at com.google.firebase.perf.config.ConfigResolver.getInstance (ConfigResolver.java:86)
at com.google.firebase.perf.application.AppStateMonitor. (AppStateMonitor.java:98)
at com.google.firebase.perf.application.AppStateMonitor.getInstance (AppStateMonitor.java:87)
at com.google.firebase.perf.metrics.NetworkRequestMetricBuilder. (NetworkRequestMetricBuilder.java:92)
at com.google.firebase.perf.metrics.NetworkRequestMetricBuilder.builder (NetworkRequestMetricBuilder.java)
at com.google.firebase.perf.network.FirebasePerfUrlConnection.instrument (FirebasePerfUrlConnection.java:186)
at com.taboola.lightnetwork.protocols.http.HttpRequest.performRequest (HttpRequest.java:73)
at com.taboola.lightnetwork.protocols.http.HttpRequest.access$000 (HttpRequest.java)
at com.taboola.lightnetwork.protocols.http.HttpRequest$1.run (HttpRequest.java)

at java.lang.Thread.run (Thread.java:1012)
Caused by java.lang.IllegalStateException:
at com.google.firebase.FirebaseApp.getInstance (FirebaseApp.java:179)
at com.google.firebase.perf.config.RemoteConfigManager.getInitialStartupMillis (RemoteConfigManager.java:91)
at com.google.firebase.perf.config.RemoteConfigManager. (RemoteConfigManager.java:85)
at com.google.firebase.perf.config.RemoteConfigManager. (RemoteConfigManager.java:52)