Recently I did migration of my application to targetSdkVersion = 28. After publishing the updated app to Google Play I started to get very strange crash reports in Crash report

Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'android.os.IBinder android.view.SurfaceControl.getHandle()' on a null object reference
android.os.Parcel.createException (
android.os.Looper.loop ( (
java.lang.reflect.Method.invoke ( (

This crash occurs only on Google devices(Pixel Series) with android Pie when app is opened by user from Play Store App, when opening from home screen everything works as expected. And there is no any trace to my code in crash report.

When I disable proguard everything works as expected

0 Answers