You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there proper support for fragments in RUM?
What is the solution for apps that use a single activity?
I'm currently using public static void sendRUMTimingEvent(RaygunRUMEventType eventType, String name, long milliseconds) but there doesn't seem to be a way to track viewing time.
In the RUM web console, I am able to see the different fragments loaded (by sending a RUMTimingEvent with ACTIVITY_LOADED event type), but viewing time is not correct. As far as I can tell the 'Viewing Time' is calculated as the duration between the current RUM Timing Event and the next Timing Event. Since network requests are also tracked as RUM Timing Events, Fragments that make a network requests report false viewing times (i.e. time from Fragment load to next network event, not the time until next Fragment event).
The text was updated successfully, but these errors were encountered:
We have implemented support for Fragments in RUM in 5c846a1, this is pending to be released. It supports automatically any Fragments in an androidx.fragment.app.FragmentActivity or Activities that inherit from it.
The issue regarding "time spent on page" goes beyond the support for Fragments, and it is due to how Raygun servers calculate that value. This is something that we are discussing internally to see how it can be improved.
I will close this issue as RUM Fragments have been implemented, but move the discussion regarding "Time spent on page" to a new ticket with more information: #135
Is there proper support for fragments in RUM?
What is the solution for apps that use a single activity?
I'm currently using
public static void sendRUMTimingEvent(RaygunRUMEventType eventType, String name, long milliseconds)
but there doesn't seem to be a way to track viewing time.In the RUM web console, I am able to see the different fragments loaded (by sending a RUMTimingEvent with ACTIVITY_LOADED event type), but viewing time is not correct. As far as I can tell the 'Viewing Time' is calculated as the duration between the current RUM Timing Event and the next Timing Event. Since network requests are also tracked as RUM Timing Events, Fragments that make a network requests report false viewing times (i.e. time from Fragment load to next network event, not the time until next Fragment event).
The text was updated successfully, but these errors were encountered: