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
Jetifier is used on android to make old code that uses legacy android support libraries work with newer androidx libraries. It is really useful at that, but it comes with the disadvantage of increasing build times, see this article.
I could probably drop jetifier without this change/fix, as it's probably not checked at compile-time whether reflection calls will succeed. But then I am at risk of runtime crashes when Mixpanel calls that code.
See dipien/bye-bye-jetifier#15 and specifically the comment dipien/bye-bye-jetifier#15 (comment).
Jetifier is used on android to make old code that uses legacy android support libraries work with newer androidx libraries. It is really useful at that, but it comes with the disadvantage of increasing build times, see this article.
Mixpanel seems to use
android.support.v4.content.LocalBroadcastManager
inside https://github.com/mixpanel/mixpanel-android/blob/master/src/main/java/com/mixpanel/android/mpmetrics/MixpanelAPI.java via reflections for something.You should probably straight up either remove the old one and use androidx, or do like AppCenter and attempt the reflection calls with either the old or the new package/class. See https://github.com/microsoft/AppCenter-Test-Espresso-Extensions/blob/master/src/main/java/com/microsoft/appcenter/espresso/Factory.java for that.
The text was updated successfully, but these errors were encountered: