A small percentage of our users are currently affected by a crash like below:
Caused by android.util.AndroidRuntimeException: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:174) at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:109) at android.webkit.WebSettings.getDefaultUserAgent(WebSettings.java:1229) at com.mopub.network.Networking.getUserAgent(Unknown Source)
Most of crashes generated by Alcatel devices made by TCL running Android 4.x, but also some of them from Samsung running newer version of Android.
We are not 100% sure why this is happening on those devices as we don’t have them in hand.
But we believed it would be better to have the code here fallback to default agent as the code currently does for Android versions prior to JB_MR1.