React Native RUM - Setup & Installation Docs | Middleware
The Mobile RUM SDK provides a customizable suite of tools to analyze and optimize the performance of React Native applications. Seamlessly track user sessions and auto-instrument HTTP monitoring, JS errors, navigation tracking for react-navigation
, and native crash errors.
React Native version 0.68
or above. Check your React Native version with the following command:
Create custom logs using the Middleware API:
Set global attributes with the setGlobalAttributes
function:
Report Custom errors with the following try and catch statment:
Set the latitude and longitude as global attributes:
The maximum session recording duration is four hours. If users are inactive for more than 15 minutes at a time, session recordings will be stopped. If users exceed more than four hours in a single session or become active again after the 15-minute inactivity timeout, a new session will be automatically created.
Session recording is enabled by default. Disable this feature by passing sessionRecording: false
in the following configuration:
Blur sensitive information in session recordings by embedding the following JSX component:
React Native RUM - Setup & Installation Docs | Middleware
The Mobile RUM SDK provides a customizable suite of tools to analyze and optimize the performance of React Native applications. Seamlessly track user sessions and auto-instrument HTTP monitoring, JS errors, navigation tracking for react-navigation
, and native crash errors.
React Native version 0.68
or above. Check your React Native version with the following command:
Create custom logs using the Middleware API:
Set global attributes with the setGlobalAttributes
function:
Report Custom errors with the following try and catch statment:
Set the latitude and longitude as global attributes:
The maximum session recording duration is four hours. If users are inactive for more than 15 minutes at a time, session recordings will be stopped. If users exceed more than four hours in a single session or become active again after the 15-minute inactivity timeout, a new session will be automatically created.
Session recording is enabled by default. Disable this feature by passing sessionRecording: false
in the following configuration:
Blur sensitive information in session recordings by embedding the following JSX component: