![](/rp/kFAqShRrnkQMbH6NYLBYoJ3lq9s.png)
Native | Sentry for Native
Sentry captures data by using an SDK within your application’s runtime. The Native SDK currently supports Windows, macOS, and Linux. The Native SDK also acts as an Android NDK support library in downstream SDKs via the Android SDK, but …
Signal Handling | Sentry for Native
The Native SDK uses signal handling on all supported platforms. On Linux (and Android), it is the primary mechanism to detect errors. On macOS and Windows, signal handlers detect specific errors that other mechanisms do not detect.
Usage | Sentry for Native
Sentry's SDK hooks into your runtime environment and automatically reports errors, uncaught exceptions, and unhandled rejections as well as other types of errors depending on the platform. Key terms: An event is one instance of sending data to Sentry.
Expo | Sentry for React Native
To set up the Sentry React Native SDK in your Expo project, follow the steps on this page. Prerequisities. Expo SDK 50 or newer. Expo SDK 49 and older are supported by the sentry-expo package. Migrate from sentry-expo to @sentry/react-native. Sign up for an account. Automatic Install. Use the Sentry Wizard to
Users | Sentry for Native
Learn how to configure the SDK to capture the user and gain critical pieces of information that construct a unique identity in Sentry.
Attachments | Sentry for Native
Sentry can enrich your events for further investigation by storing additional files, such as config or log files, as attachments. You can use a higher-level SDK for platforms with built-in support for native crashes, or generate and upload attachments using the API: Native C/C++; Electron; Minidump endpoint
Basic Options | Sentry for Native
Options are passed into sentry_init as a pointer to an options object created via sentry_options_new(). There are functions that allow to set all options individually.
Backend Tradeoffs | Sentry for Native
Sentry processing infrastructure can - potentially - extract more information from the provided minidump than from only a stack trace and registers. However, it also means that the crash context inside the minidump will be opaque until processed in the backend.
Metro | Sentry for React Native
Learn about the Metro bundler and how to configure it for your your application with Sentry React Native SDK. Sentry's React Native SDK package ships with a Sentry Metro Serializer which allows you to automatically generate Debug IDs for your applications' bundles.
Transports | Sentry for Native
The Native SDK uses Transports to send event payloads to Sentry. The default transport depends on the target platform: Windows: WinHTTP; Linux: Curl; macOS: Curl; Custom Transports. To specify a custom transport, use the sentry_options_set_transport function and supply a transport that implements the sentry_transport_t interface.