App crashes receiving OneSignal notification with Big Picture URL


#1

Hi,
when adding a “big picture url” to a OneSignal message send via the dashboard, my app is crashing on a Samsung S9 with Android 8.0 , while the big picture is displayed correctly in the notification on a Moto with Android 7.0. I tried with MaxSDK 25 as well as 26.

This is reproducible, so removing the “big picture url’” makes the notification work fine on both devices.

Looking into the logfile of the Android 8.0 device, I see two kind of errors:

OneSignal: Error restoring notification records!
OneSignal: java.lang.IllegalArgumentException: No such service ComponentInfo{com.appybuilder.XXX_MyApp_XXX/com.onesignal.RestoreJobService}

AndroidRuntime: FATAL EXCEPTION: main
AndroidRuntime: Process: com.appybuilder.XXX_MyApp_XXX, PID: 18956
AndroidRuntime: java.lang.RuntimeException: Unable to start receiver com.onesignal.GcmBroadcastReceiver: java.lang.IllegalArgumentException: No such service ComponentInfo{com.appybuilder.XXX_MyApp_XXX/com.onesignal.GcmIntentJobService}

Does anybody know the OneSignal component implementation good enough to understand the root cause?

That would be cool - Thanks!


#2

Hi in Android 8.0 still has problems, in previous versions works perfect