Hi, I am trying to make an analytics library for SG applications, is it safe to start (i.e "RUN") a Task as the first child of the mainscene and keep it running/listening to events from different screens (including video node) for the entire duration of the application? The task just makes a http request for each event. I tried it, but the roku (Roku 3, Roku 4, HD Stick and Express) restarts randomly while playing video, without the app crashing out. Just wanted to make sure that there is nothing wrong in what I am trying to do.
Also is there any way to debug or capture these random re-boots??
yes you can run a task for the lifetime of the application. For analytics, it might make sense to respawn it every time a video starts. You should see some kind of debugging info when a sideloaded app reboots, but the real answer is no, there is not a useful crash log available (at least not to developers, maybe Roku has a way) when a device reboots.