As of 2022, there are more than 6.6 billion smartphone users in the world, roughly equivalent to 83.4% of the world’s population—up from the nearly 3.7 billion smartphone users in 2016, according to the Ericsson Mobility Report. Smartphones have revolutionized the way companies advertise, communicate, and most importantly, interact with their consumers by way of mobile applications. And those consumers prefer using apps on iOS or Android devices. But it isn’t always easy to replicate a desired mobile application.
With the open-source framework React Native, developers can build mobile apps across multiple platforms through a single code base. Using React Native requires fewer resources and saves money. Building modern applications with open-source frameworks has increasingly become the norm, and while this streamlines the development process for engineers, these applications still need to be monitored in production. You can use New Relic to monitor applications built using React Native.
With this support, available since July 19, 2022, you can:
- Track user traffic and network latency of your React Native-instrumented applications
The next sections explain more about each of these enhancements.
Track user traffic and network latency
Our mobile agent can now easily capture interactions from React Native instrumented apps in the sequence they were created—and then pass performance data to New Relic to track user sessions.
You can seamlessly view your mobile traffic all in one place, and even take a look at which users came from specific iOS or Android phones and tablets. These features and this compatibility with React Native-instrumented apps are crucial for teams struggling to understand their user base, especially in mobile-first countries in Asia or Latin America.
New Relic also tracks network data, including information on HTTP errors and latency, which can also provide insight into regional differences in your customer engagement.
Capture and trace errors
Records of console logs, warnings, and errors are all kept in New Relic so you can create retroactive incident reports. Also, distributed tracing for React Native helps drill into the backend cause of an issue on the frontend.
Ultimately, adding this value to our mobile monitoring is part of our mission to enhance performance observability and streamline the development lifecycle for frontend engineers.
Learn more about New Relic’s React Native support.
More features to monitor all your mobile applications
Beyond our latest support for React Native and upcoming support for Flutter, our powerful platform is designed to solve all your mobile monitoring needs, from frontend to backend.
Our mobile monitoring solution tracks both native iOS and Android crashes, as well as crashes due to React, all in one place. Intelligent crash analysis uses machine learning to provide insights into anomalous crashes, which gives the user a full profile of crash data, scoped by OS and device type.
Read more about our mobile crash reporting.
Our event trail shows exactly what actions mobile users took on each screen, with granular timestamps, that led to each error occurring.
Select a user event to see an in-depth stack trace of the requests that were called and which services triggered the error. This significantly reduces the mean time to detection of errors for internal users. The Event Attributes tab to the right also shows the device, OS information, geographic region, and more for each user that experienced an issue.
To learn more using an event trail, check out our mobile crash event trail docs.
Our distributed tracing tab takes HTTP requests to a new level. In addition to viewing HTTP response trends for the organization’s React Native-instrumented applications, you can see traces that detail why the HTTP requests didn’t perform.
For example, for each request, you can see the number of entities it connects to and how they interact with one another. Essentially, you have full visibility of the upstream and downstream effects of an HTTP error. You can see in real time how the performance of your services affects your application, as well as view details on all in-process spans. This helps businesses tremendously by eliminating internal finger-pointing in determining the cause of an issue. Now, engineers know exactly where and when the crash occurred and can focus on resolving the problem.
Read more about distributed tracing for mobile.
New Relic also tracks top user interactions based on the number of views or time spent on a particular part of the application. You can further analyze user interactions in a custom New Relic dashboard, where you can see exactly what is happening inside the environment—even down to the millisecond timestamp that your users visited your page. These dashboards are crucial for higher-level executives in an organization to keep an eye on application performance at a glance.
The power of mobile monitoring for React Native
As a platform, New Relic is extremely powerful. You can track your React Native-instrumented iOS and Android applications from frontend to backend, and even set alerts to receive notifications when crash or error rates exceed a certain threshold.
We champion modern mobile development and want to empower you with the right tools to keep up in today's fast-paced environment. With these additions to the New Relic toolkit, deploying and monitoring cross-platform applications has never been easier.
Get started with mobile monitoring for React Native
Get started with New Relic today!
Check out our on-demand webinar on how to set up your React Native applications with New Relic. Principal Solutions Consultant Michael Osowski walks through core features to help you simplify your software development lifecycle.
Also, you can read our mobile monitoring docs or learn more about our support for React Native.
The views expressed on this blog are those of the author and do not necessarily reflect the views of New Relic. Any solutions offered by the author are environment-specific and not part of the commercial solutions or support offered by New Relic. Please join us exclusively at the Explorers Hub (discuss.newrelic.com) for questions and support related to this blog post. This blog may contain links to content on third-party sites. By providing such links, New Relic does not adopt, guarantee, approve or endorse the information, views or products available on such sites.