newrelic / video-agent-roku

New Relic Agent for Roku
Apache License 2.0
18 stars 18 forks source link

nrHarvestTimer does not run when instantiating from main.brs #12

Closed rdobda-gaia closed 4 years ago

rdobda-gaia commented 4 years ago

We are having an issue with video-agent-roku installation on the roku client. The instructions say to create the newRelic component in main.brs. When creating the com.newrelic.NRAgent in main.brs, the nrHarvestTimer appears to not run and so events are not sent. We believe this happens because the component is being created in main.brs instead of the scene. When we move this logic into the Scene, then the timer appears to run properly and the events are sent. We believe this is an issue with the install instructions, but would like you to confirm.

asllop commented 4 years ago

Could you please provide more details about your implementation? The installation instructions worked well for other customers, and actually the demo app, using the same method to setup the agent, works well too (you can check it, running the demo app included in the present repository).

rdobda-gaia commented 4 years ago

We didn't notice there was a demo app, but anyway, in our case, we were able to get it working by moving the initialization to the roku scene, so i will close this ticket. thanks!