Announcing React Native Support
Today, we're excited to launch React Native support for bitdrift Capture. Capture gives developers a novel twist on traditional observability – empowering devices to intelligently buffer and selectively send data – offering material cost savings and unprecedented flexibility for mobile developers. You can send whatever logs, traces, and events you want from your React Native app (and update them in real time) all without worrying about storing and paying for heaps and heaps of noisy data.

You can install the SDK via a simple:
And initialized via thebash
npm install -–save @bitdrift/react-native
init() function:
For more information on React Native see our quickstart documentation.javascript
import { init } from '@bitdrift/react-native'; init('<api key>');
React Native + Capture: capture anything without worrying about cost
bitdrift turns the traditional observability model on its head: instead of mass sending events from your devices and mining for insights later, we give the device the ability to intelligently retain and sift through data via our Ring Buffer. This means you don’t need to worry about carefully choosing which events and metrics you send, lest you get saddled with an observability bill the size of a small country’s GDP. You can instrument and log anything – even if you don’t know it will valuable in advance – and then retroactively decide what data to retain or discard. It’s a completely different way of thinking about observability. Capture comes with an extensive list of out-of-the-box events and traces that give you insight into your React Native apps with no extra code:- Screen session replay for a periodic capture of visual representation of what a user saw
- Resource utilization capture to help you to learn how much of available resources your app was using in a given user session
- A lot of logs emitted each time a system notifies the app about a significant event such as memory warning events, an app moving to the background etc.
javascript
info(“received a new configuration from the server”, {config_version: version}) error(“unexpected state ${err}”)
Make changes to your React Native app’s instrumentation in minutes, not weeks
bitdrift’s Ring Buffer lets you capture verbose logs for sessions without needing to redeploy. Traditionally, adding a new event or changing the payload on an existing one requires a code change, a redeploy, and waiting for approval from your platform’s app store, all of which could take weeks. With Capture you can make these changes instantaneously. It opens up a completely different way of investigating and debugging production issues. Interested in learning more? Get in touch with us for a demo. Please join us in Slack as well to ask questions and give feedback!Author
Snow Pettersen