Dscs9 and css backgrounds

I make some test with a mobile android device using html and some css animated backgrounds, and also some slides with video backgrounds and a weather overlay on top. Both things seemed to work and I bought two dscs9 boxes with it’s corresponding licenses. I then updated the android player on the dscs9 boxes from the 1.8 version to the player version 2 Revision 203.

The thing is that the player updated and started the animation correctly, but once the first loop ends and restarts again, the css background stops working and only shows a blank background.

What can be happening?

here is a link to the code as the html is not showing
export

Ok, enabling the debuger, it shows an error on the webview:

02-12 21:19:45.865  5368  5368 W cr_AwContents: Application attempted to call on a destroyed WebView
02-12 21:19:45.865  5368  5368 W cr_AwContents: java.lang.Throwable
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at org.chromium.android_webview.AwContents.c(PG:3)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at org.chromium.android_webview.AwContents.T(PG:1)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at xp.loadingStateChanged(PG:1)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at android.os.MessageQueue.nativePollOnce(Native Method)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at android.os.MessageQueue.next(MessageQueue.java:323)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at android.os.Looper.loop(Looper.java:135)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at android.app.ActivityThread.main(ActivityThread.java:5422)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at java.lang.reflect.Method.invoke(Native Method)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
02-12 21:19:45.865  5368  5368 W cr_AwContents: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

On the application list, the webview app apears as closed, if I force close the xibo app and restarts it shows the embedded page correctly till it crashes at the end of the layout and doesn’t restar, appearing as a white background on the next loop. I tried with several pages, and ones with static content and without css animations worked well, but when I include any website (with embedded html or as webpage), it usually crashes the webview and doesn’t work till I restart the xibo app.

Ok, old time android developer kung fu has been useful, dscs9 player came with chromium webview 77, I downloaded chromium 79 and uploaded via adb, and It doesn’t fail anymore :face_with_raised_eyebrow:

slide with video background and weather widget, also worked, as I suppose that the problem was with the webview and it’s also used there.

the “Application attempted to call on a destroyed WebView” log error continues to appear.

Please could you try with Xibo for Android 2 R204 which was released today and see if you still get that same log message “Application attempted to call on a destroyed WebView”.

Our development team have logged an issue to investigate that as well.

I tried with the new version and I get the same message on the log, anyway, the layout continues to work instead of what was happening with chromium 77, so maybe it’s unrelated.

Thanks for your feedback. That’s helpful.